#D49EF2#D49EF2

#D49EF2 is a light, vivid violet. Relative luminance 0.449; OKLCH L 77.9% C 0.129 H 313.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#D49EF2
RGBrgb(212, 158, 242)
HSLhsl(279, 76%, 78%)
HSVhsv(279, 35%, 95%)
CMYKcmyk(12.4%, 34.7%, 0%, 5.1%)
CIE-LABlab(72.80, 34.91, -34.40)
CIE-LCHlch(72.80, 49.01, 315.42°)
OKLaboklab(77.94% 0.0881 -0.0946)
OKLCHoklch(77.94% 0.129 313)
XYZxyz(55.4026, 44.8625, 89.7279)
Luminance0.4486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D49EF2 #BCF29E
analogous
#AA9EF2 #D49EF2 #F29EE6
triadic
#D49EF2 #F2D49E #9EF2D4
tetradic
#D49EF2 #F2AA9E #BCF29E #9EE6F2
square
#D49EF2 #F2AA9E #BCF29E #9EE6F2
split-complementary
#D49EF2 #E6F29E #9EF2AA
monochromatic
#A432E4 #BC68EB #D49EF2 #ECD4F9 #F3E4FB

Accessibility & contrast

On white

2.11
#D49EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#D49EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D49EF2
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D49EF2#FFFFFF#000000##000000
##D49EF21.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#D2A9BD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d49ef2;
/* rgb */ color: rgb(212, 158, 242);
/* oklch */ color: oklch(77.9% 0.129 313.0);
Tailwind
colors: {
  custom: {
    50: '#e2bbf6',
    500: '#d49ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d49ef2;
$custom-light: #e2bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d49ef2",
  "rgb": {
    "r": 212,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 278.571,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77944,
    "c": 0.12926,
    "h": 313
  },
  "luminance": 0.44862
}

Semantic roles & 50–950 ramp

primary
#D49EF2
secondary
#E2F3D8
accent
#D90D56
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #D49EF2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D49EF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva