#DC9DF2#DC9DF2

#DC9DF2 is a light, vivid purple. Relative luminance 0.457; OKLCH L 78.6% C 0.135 H 317.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#DC9DF2
RGBrgb(220, 157, 242)
HSLhsl(284, 77%, 78%)
HSVhsv(284, 35%, 95%)
CMYKcmyk(9.1%, 35.1%, 0%, 5.1%)
CIE-LABlab(73.38, 37.86, -33.45)
CIE-LCHlch(73.38, 50.52, 318.55°)
OKLaboklab(78.56% 0.0986 -0.0917)
OKLCHoklch(78.56% 0.135 317.1)
XYZxyz(57.5969, 45.7418, 89.7821)
Luminance0.4574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9DF2 #B3F29D
analogous
#B19DF2 #DC9DF2 #F29DDD
triadic
#DC9DF2 #F2DC9D #9DF2DC
tetradic
#DC9DF2 #F2B19D #B3F29D #9DDDF2
square
#DC9DF2 #F2B19D #B3F29D #9DDDF2
split-complementary
#DC9DF2 #DDF29D #9DF2B1
monochromatic
#B531E4 #C967EB #DC9DF2 #EFD3F9 #F5E4FB

Accessibility & contrast

On white

2.07
#DC9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#DC9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9DF2
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9DF2#FFFFFF#000000##000000
##DC9DF21.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B0F5
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#DCA7BD
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #dc9df2;
/* rgb */ color: rgb(220, 157, 242);
/* oklch */ color: oklch(78.6% 0.135 317.1);
Tailwind
colors: {
  custom: {
    50: '#e8bbf6',
    500: '#dc9df2',
    950: '#000000',
  },
}
SCSS
$custom: #dc9df2;
$custom-light: #e8bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9df2",
  "rgb": {
    "r": 220,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 284.471,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.78564,
    "c": 0.13469,
    "h": 317.1
  },
  "luminance": 0.4574
}

Semantic roles & 50–950 ramp

primary
#DC9DF2
secondary
#DFF3D8
accent
#D90D42
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DC9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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