#DC9FEB#DC9FEB

#DC9FEB is a light, vivid purple. Relative luminance 0.460; OKLCH L 78.6% C 0.124 H 319.6°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#DC9FEB
RGBrgb(220, 159, 235)
HSLhsl(288, 66%, 77%)
HSVhsv(288, 32%, 92%)
CMYKcmyk(6.4%, 32.3%, 0%, 7.8%)
CIE-LABlab(73.55, 35.41, -29.37)
CIE-LCHlch(73.55, 46.00, 320.33°)
OKLaboklab(78.61% 0.094 -0.0802)
OKLCHoklch(78.61% 0.124 319.6)
XYZxyz(56.9067, 46.0116, 84.4646)
Luminance0.4601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9FEB #AEEB9F
analogous
#B69FEB #DC9FEB #EB9FD4
triadic
#DC9FEB #EBDC9F #9FEBDC
tetradic
#DC9FEB #EBB69F #AEEB9F #9FD4EB
square
#DC9FEB #EBB69F #AEEB9F #9FD4EB
split-complementary
#DC9FEB #D4EB9F #9FEBB6
monochromatic
#B73AD6 #CA6CE0 #DC9FEB #EED2F6 #F6E6FA

Accessibility & contrast

On white

2.06
#DC9FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#DC9FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9FEB
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9FEB#FFFFFF#000000##000000
##DC9FEB1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1EE
Deuteranopia (green-blind)
#A4B7E9
Tritanopia (blue-blind)
#DDA8BB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dc9feb;
/* rgb */ color: rgb(220, 159, 235);
/* oklch */ color: oklch(78.6% 0.124 319.6);
Tailwind
colors: {
  custom: {
    50: '#e8bcf1',
    500: '#dc9feb',
    950: '#000000',
  },
}
SCSS
$custom: #dc9feb;
$custom-light: #e8bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9feb",
  "rgb": {
    "r": 220,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 288.158,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78608,
    "c": 0.12357,
    "h": 319.6
  },
  "luminance": 0.4601
}

Semantic roles & 50–950 ramp

primary
#DC9FEB
secondary
#DEF1DA
accent
#CD183C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DC9FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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