#D29EF2#D29EF2

#D29EF2 is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.8% C 0.128 H 311.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#D29EF2
RGBrgb(210, 158, 242)
HSLhsl(277, 76%, 78%)
HSVhsv(277, 35%, 95%)
CMYKcmyk(13.2%, 34.7%, 0%, 5.1%)
CIE-LABlab(72.61, 34.30, -34.72)
CIE-LCHlch(72.61, 48.81, 314.65°)
OKLaboklab(77.75% 0.0858 -0.0955)
OKLCHoklch(77.75% 0.128 311.9)
XYZxyz(54.8295, 44.5670, 89.7011)
Luminance0.4457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D29EF2 #BEF29E
analogous
#A89EF2 #D29EF2 #F29EE8
triadic
#D29EF2 #F2D29E #9EF2D2
tetradic
#D29EF2 #F2A89E #BEF29E #9EE8F2
square
#D29EF2 #F2A89E #BEF29E #9EE8F2
split-complementary
#D29EF2 #E8F29E #9EF2A8
monochromatic
#A032E4 #B968EB #D29EF2 #EBD4F9 #F2E4FB

Accessibility & contrast

On white

2.12
#D29EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#D29EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D29EF2
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D29EF2#FFFFFF#000000##000000
##D29EF21.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#9BB3F0
Tritanopia (blue-blind)
#CFA9BD
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d29ef2;
/* rgb */ color: rgb(210, 158, 242);
/* oklch */ color: oklch(77.8% 0.128 311.9);
Tailwind
colors: {
  custom: {
    50: '#e1bbf6',
    500: '#d29ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d29ef2;
$custom-light: #e1bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d29ef2",
  "rgb": {
    "r": 210,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 277.143,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77751,
    "c": 0.12841,
    "h": 311.9
  },
  "luminance": 0.44566
}

Semantic roles & 50–950 ramp

primary
#D29EF2
secondary
#E2F3D8
accent
#D90D5B
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #D29EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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