#DC9DFB#DC9DFB

#DC9DFB is a light, vivid purple. Relative luminance 0.463; OKLCH L 79.0% C 0.145 H 314.0°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#DC9DFB
RGBrgb(220, 157, 251)
HSLhsl(280, 92%, 80%)
HSVhsv(280, 37%, 98%)
CMYKcmyk(12.4%, 37.5%, 0%, 1.6%)
CIE-LABlab(73.74, 39.68, -37.77)
CIE-LCHlch(73.74, 54.79, 316.41°)
OKLaboklab(78.95% 0.1006 -0.1041)
OKLCHoklch(78.95% 0.145 314)
XYZxyz(58.9820, 46.2958, 97.0770)
Luminance0.4629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9DFB #BCFB9D
analogous
#AD9DFB #DC9DFB #FB9DEB
triadic
#DC9DFB #FBDC9D #9DFBDC
tetradic
#DC9DFB #FBAD9D #BCFB9D #9DEBFB
square
#DC9DFB #FBAD9D #BCFB9D #9DEBFB
split-complementary
#DC9DFB #EBFB9D #9DFBAD
monochromatic
#B227F6 #C762F9 #DC9DFB #F1D8FD #F5E2FE

Accessibility & contrast

On white

2.05
#DC9DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#DC9DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9DFB
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9DFB#FFFFFF#000000##000000
##DC9DFB1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#9CB7F8
Tritanopia (blue-blind)
#DAAAC0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dc9dfb;
/* rgb */ color: rgb(220, 157, 251);
/* oklch */ color: oklch(79.0% 0.145 314.0);
Tailwind
colors: {
  custom: {
    50: '#e8bbfd',
    500: '#dc9dfb',
    950: '#000000',
  },
}
SCSS
$custom: #dc9dfb;
$custom-light: #e8bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9dfb",
  "rgb": {
    "r": 220,
    "g": 157,
    "b": 251
  },
  "hsl": {
    "h": 280.213,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.78954,
    "c": 0.14477,
    "h": 314
  },
  "luminance": 0.46295
}

Semantic roles & 50–950 ramp

primary
#DC9DFB
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DC9DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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