#DC9EFD#DC9EFD

#DC9EFD is a light, vivid violet. Relative luminance 0.468; OKLCH L 79.2% C 0.145 H 313.3°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#DC9EFD
RGBrgb(220, 158, 253)
HSLhsl(279, 96%, 81%)
HSVhsv(279, 38%, 99%)
CMYKcmyk(13%, 37.5%, 0%, 0.8%)
CIE-LABlab(74.04, 39.56, -38.39)
CIE-LCHlch(74.04, 55.12, 315.86°)
OKLaboklab(79.21% 0.0996 -0.1058)
OKLCHoklch(79.21% 0.145 313.3)
XYZxyz(59.4688, 46.7623, 98.8027)
Luminance0.4676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9EFD #BFFD9E
analogous
#AC9EFD #DC9EFD #FD9EEE
triadic
#DC9EFD #FDDC9E #9EFDDC
tetradic
#DC9EFD #FDAC9E #BFFD9E #9EEEFD
square
#DC9EFD #FDAC9E #BFFD9E #9EEEFD
split-complementary
#DC9EFD #EEFD9E #9EFDAC
monochromatic
#B126FB #C662FC #DC9EFD #F2DAFE #F4E1FE

Accessibility & contrast

On white

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

On black

10.35
#DC9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9EFD
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9EFD#FFFFFF#000000##000000
##DC9EFD1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#9CB8FA
Tritanopia (blue-blind)
#D9ABC2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dc9efd;
/* rgb */ color: rgb(220, 158, 253);
/* oklch */ color: oklch(79.2% 0.145 313.3);
Tailwind
colors: {
  custom: {
    50: '#e8bbfe',
    500: '#dc9efd',
    950: '#000000',
  },
}
SCSS
$custom: #dc9efd;
$custom-light: #e8bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9efd",
  "rgb": {
    "r": 220,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 279.158,
    "s": 95.96,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79207,
    "c": 0.14536,
    "h": 313.3
  },
  "luminance": 0.46761
}

Semantic roles & 50–950 ramp

primary
#DC9EFD
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DC9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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