#DC9EFB#DC9EFB

#DC9EFB is a light, vivid purple. Relative luminance 0.466; OKLCH L 79.1% C 0.143 H 313.9°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#DC9EFB
RGBrgb(220, 158, 251)
HSLhsl(280, 92%, 80%)
HSVhsv(280, 37%, 98%)
CMYKcmyk(12.4%, 37.1%, 0%, 1.6%)
CIE-LABlab(73.96, 39.15, -37.43)
CIE-LCHlch(73.96, 54.16, 316.28°)
OKLaboklab(79.12% 0.0992 -0.1031)
OKLCHoklch(79.12% 0.143 313.9)
XYZxyz(59.1518, 46.6356, 97.1336)
Luminance0.4663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9EFB #BDFB9E
analogous
#AD9EFB #DC9EFB #FB9EEB
triadic
#DC9EFB #FBDC9E #9EFBDC
tetradic
#DC9EFB #FBAD9E #BDFB9E #9EEBFB
square
#DC9EFB #FBAD9E #BDFB9E #9EEBFB
split-complementary
#DC9EFB #EBFB9E #9EFBAD
monochromatic
#B228F6 #C763F9 #DC9EFB #F1D9FD #F4E2FE

Accessibility & contrast

On white

2.03
#DC9EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#DC9EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9EFB
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9EFB#FFFFFF#000000##000000
##DC9EFB1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FF
Deuteranopia (green-blind)
#9DB7F8
Tritanopia (blue-blind)
#DAAAC1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dc9efb;
/* rgb */ color: rgb(220, 158, 251);
/* oklch */ color: oklch(79.1% 0.143 313.9);
Tailwind
colors: {
  custom: {
    50: '#e8bbfd',
    500: '#dc9efb',
    950: '#000000',
  },
}
SCSS
$custom: #dc9efb;
$custom-light: #e8bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9efb",
  "rgb": {
    "r": 220,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 280,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.79119,
    "c": 0.1431,
    "h": 313.9
  },
  "luminance": 0.46634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC9EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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