#DC9BEB#DC9BEB

#DC9BEB is a light, vivid purple. Relative luminance 0.447; OKLCH L 77.9% C 0.131 H 319.9°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#DC9BEB
RGBrgb(220, 155, 235)
HSLhsl(289, 67%, 76%)
HSVhsv(289, 34%, 92%)
CMYKcmyk(6.4%, 34%, 0%, 7.8%)
CIE-LABlab(72.67, 37.56, -30.73)
CIE-LCHlch(72.67, 48.53, 320.71°)
OKLaboklab(77.94% 0.0999 -0.084)
OKLCHoklch(77.94% 0.131 319.9)
XYZxyz(56.2300, 44.6581, 84.2390)
Luminance0.4466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9BEB #AAEB9B
analogous
#B49BEB #DC9BEB #EB9BD2
triadic
#DC9BEB #EBDC9B #9BEBDC
tetradic
#DC9BEB #EBB49B #AAEB9B #9BD2EB
square
#DC9BEB #EBB49B #AAEB9B #9BD2EB
split-complementary
#DC9BEB #D2EB9B #9BEBB4
monochromatic
#B835D7 #CA68E1 #DC9BEB #EECEF5 #F6E5FA

Accessibility & contrast

On white

2.11
#DC9BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#DC9BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9BEB
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9BEB#FFFFFF#000000##000000
##DC9BEB1.002.119.939.93
#FFFFFF2.111.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEE
Deuteranopia (green-blind)
#A1B5E8
Tritanopia (blue-blind)
#DDA4B9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #dc9beb;
/* rgb */ color: rgb(220, 155, 235);
/* oklch */ color: oklch(77.9% 0.131 319.9);
Tailwind
colors: {
  custom: {
    50: '#e8b9f1',
    500: '#dc9beb',
    950: '#000000',
  },
}
SCSS
$custom: #dc9beb;
$custom-light: #e8b9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9beb",
  "rgb": {
    "r": 220,
    "g": 155,
    "b": 235
  },
  "hsl": {
    "h": 288.75,
    "s": 66.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77935,
    "c": 0.1305,
    "h": 319.9
  },
  "luminance": 0.44656
}

Semantic roles & 50–950 ramp

primary
#DC9BEB
secondary
#DEF1DA
accent
#CF1739
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC9BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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