Skip to content

#d492f0

a light, electric violet · cool · closest name: Violet

RGB
212, 146, 240
HSL
282°, 76%, 76%
CMYK
12, 39, 0, 6
Luminance
0.4085

At a glance

Every number on this page in one read: what #d492f0 is made of, how bright it looks, and which way it leans.

Hex
#d492f0
Hue
282°
violet
Saturation
76%
electric
Lightness
76%
light
Brightness
94%
HSV value
Perceived
71%
weighted brightness
Luminance
0.4085
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
9.17:1
Closest name
Violet
ΔE2000 5.9
Where it sits
Hue282° of 360°
Saturation76%
Lightness76%
Temperature
Warm ← → Cool60% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#d492f0
RGBrgb(212, 146, 240)
HSLhsl(282, 76%, 76%)
CMYKcmyk(12%, 39%, 0%, 6%)
LABlab(70.1 41.0 -37.5)
LCHlch(70.1 55.6 317.5)
OKLCHoklch(0.758 0.147 315.4)
Decimal13931248
Display P3color(display-p3 0.831 0.573 0.941)

Copy-ready code

/* CSS */
color: #d492f0;
background-color: #d492f0;
/* Tailwind (arbitrary) */
class="text-[#d492f0] bg-[#d492f0]"
/* SCSS */
$brand: #d492f0;
/* SwiftUI */
Color(red: 0.831, green: 0.573, blue: 0.941)
/* Android */
Color.parseColor("#d492f0")
/* Flutter */
Color(0xFFD492F0)
/* Python / OpenCV (BGR) */
(240, 146, 212)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #d492f0 · 9.17:1
Use #000000AAA at every size.
Aa
White text · 2.29:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.17:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #d492f0 as text scores 2.29:1 on white and 9.17:1 on black.

Accessibility — WCAG contrast

Aa
#d492f0 on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#d492f0 on black: 9.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #82A7F3
deuteranopia · #93ADED
tritanopia · #D39FB6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #d492f0 is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F3FC
#F3E7F9
#E7C8F4
#d492f0
#C56BEB
#B13AE4
#A01ED7
#8519B3
#6B148F
#4E1368
#310C41
Base = 300Lightest = 50 · #F9F3FCDarkest = 950 · #310C41
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F9;
  --brand-200: #E7C8F4;
  --brand-300: #d492f0;
  --brand-400: #C56BEB;
  --brand-500: #B13AE4;
  --brand-600: #A01ED7;
  --brand-700: #8519B3;
  --brand-800: #6B148F;
  --brand-900: #4E1368;
  --brand-950: #310C41;
  --brand: #d492f0;
  --brand-ink: #000000;
}

Colors that work with #d492f0

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F4FA
Tinted page background
Border#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6EB715
Second voice, not a rival
Dark variant#530F70
Hover, pressed, headers
Light variant#F6E9FC
Selected rows, tints
Dark surface#1F1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #d492f0

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#AEF092
Analogous left#A592F0
Analogous right#F092DD
Split-complement 1#DDF092
Split-complement 2#92F0A5
Triadic 1#F0D492
Triadic 2#92F0D4
Tetradic#F0A592

RGB percentages

Red83.1%
Green57.3%
Blue94.1%

CMYK percentages

Cyan11.7%
Magenta39.2%
Yellow0.0%
Key (black)5.9%

Color previews

#d492f0 text on a black background

contrast 9.17:1

Card sample

#d492f0 text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #d492f0;
Background color
Panel with #d492f0 background
background-color: #d492f0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #d492f0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(212, 146, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(212, 146, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d492f0;
background: linear-gradient(135deg, #d492f0, #F092CD);

Monochromatic scale

Palettes built from #d492f0

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#d492f0 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#d492f0, answered

What color is #d492f0?

#d492f0 is a light electric violet, closest to Violet (ΔE2000 5.9). It sits at 282° on the hue wheel with 76% saturation and 76% lightness, which reads as cool.

What is the RGB value of #d492f0?

rgb(212, 146, 240) — 212 red, 146 green and 240 blue out of 255, or 83.1% / 57.3% / 94.1% by channel.

Is #d492f0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4085 and perceived brightness is 71%, so black text on it reaches 9.17:1.

Should I use black or white text on #d492f0?

Black. It scores 9.17:1 against #d492f0, versus 2.29:1 for white — AAA at any size.

What is the complementary color of #d492f0?

#AEF092 sits directly opposite on the wheel. Softer options are the split-complements #DDF092 and #92F0A5, which give the same contrast with far less vibration.

What colors go well with #d492f0?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #6EB715 as an accent and #530F70 for hover and pressed states. For a palette, the analogous pair #A592F0 and #F092DD stays calm, while #AEF092 is the loudest partner.

What is #d492f0 in CMYK for printing?

cmyk(12%, 39%, 0%, 6%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #d492f0 warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F092EA; nudged cooler, #B191F1.

Work with #d492f0 in the Color Lab