#DC9DEB#DC9DEB

#DC9DEB is a light, vivid purple. Relative luminance 0.453; OKLCH L 78.3% C 0.127 H 319.8°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#DC9DEB
RGBrgb(220, 157, 235)
HSLhsl(288, 66%, 77%)
HSVhsv(288, 33%, 92%)
CMYKcmyk(6.4%, 33.2%, 0%, 7.8%)
CIE-LABlab(73.11, 36.49, -30.05)
CIE-LCHlch(73.11, 47.27, 320.52°)
OKLaboklab(78.27% 0.097 -0.0821)
OKLCHoklch(78.27% 0.127 319.8)
XYZxyz(56.5656, 45.3293, 84.3508)
Luminance0.4533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9DEB #ACEB9D
analogous
#B59DEB #DC9DEB #EB9DD3
triadic
#DC9DEB #EBDC9D #9DEBDC
tetradic
#DC9DEB #EBB59D #ACEB9D #9DD3EB
square
#DC9DEB #EBB59D #ACEB9D #9DD3EB
split-complementary
#DC9DEB #D3EB9D #9DEBB5
monochromatic
#B837D6 #CA6AE1 #DC9DEB #EED0F5 #F6E6FA

Accessibility & contrast

On white

2.09
#DC9DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#DC9DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9DEB
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9DEB#FFFFFF#000000##000000
##DC9DEB1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEE
Deuteranopia (green-blind)
#A2B6E9
Tritanopia (blue-blind)
#DDA6BA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #dc9deb;
/* rgb */ color: rgb(220, 157, 235);
/* oklch */ color: oklch(78.3% 0.127 319.8);
Tailwind
colors: {
  custom: {
    50: '#e8bbf1',
    500: '#dc9deb',
    950: '#000000',
  },
}
SCSS
$custom: #dc9deb;
$custom-light: #e8bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9deb",
  "rgb": {
    "r": 220,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 288.462,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.78271,
    "c": 0.12704,
    "h": 319.8
  },
  "luminance": 0.45328
}

Semantic roles & 50–950 ramp

primary
#DC9DEB
secondary
#DEF1DA
accent
#CE183B
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DC9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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