#D29DF2#D29DF2

#D29DF2 is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.6% C 0.130 H 312.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#D29DF2
RGBrgb(210, 157, 242)
HSLhsl(277, 77%, 78%)
HSVhsv(277, 35%, 95%)
CMYKcmyk(13.2%, 35.1%, 0%, 5.1%)
CIE-LABlab(72.38, 34.85, -35.07)
CIE-LCHlch(72.38, 49.44, 314.82°)
OKLaboklab(77.58% 0.0872 -0.0965)
OKLCHoklch(77.58% 0.13 312.1)
XYZxyz(54.6596, 44.2273, 89.6444)
Luminance0.4423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D29DF2 #BDF29D
analogous
#A79DF2 #D29DF2 #F29DE7
triadic
#D29DF2 #F2D29D #9DF2D2
tetradic
#D29DF2 #F2A79D #BDF29D #9DE7F2
square
#D29DF2 #F2A79D #BDF29D #9DE7F2
split-complementary
#D29DF2 #E7F29D #9DF2A7
monochromatic
#A031E4 #B967EB #D29DF2 #EBD3F9 #F3E4FB

Accessibility & contrast

On white

2.13
#D29DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#D29DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D29DF2
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D29DF2#FFFFFF#000000##000000
##D29DF21.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF5
Deuteranopia (green-blind)
#9AB3EF
Tritanopia (blue-blind)
#CFA9BD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d29df2;
/* rgb */ color: rgb(210, 157, 242);
/* oklch */ color: oklch(77.6% 0.130 312.1);
Tailwind
colors: {
  custom: {
    50: '#e1baf6',
    500: '#d29df2',
    950: '#000000',
  },
}
SCSS
$custom: #d29df2;
$custom-light: #e1baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d29df2",
  "rgb": {
    "r": 210,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 277.412,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77579,
    "c": 0.13011,
    "h": 312.1
  },
  "luminance": 0.44226
}

Semantic roles & 50–950 ramp

primary
#D29DF2
secondary
#E2F3D8
accent
#D90D5A
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #D29DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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