#DC9DFD#DC9DFD

#DC9DFD is a light, vivid violet. Relative luminance 0.464; OKLCH L 79.0% C 0.147 H 313.4°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#DC9DFD
RGBrgb(220, 157, 253)
HSLhsl(279, 96%, 80%)
HSVhsv(279, 38%, 99%)
CMYKcmyk(13%, 37.9%, 0%, 0.8%)
CIE-LABlab(73.82, 40.09, -38.73)
CIE-LCHlch(73.82, 55.74, 315.99°)
OKLaboklab(79.04% 0.1011 -0.1068)
OKLCHoklch(79.04% 0.147 313.4)
XYZxyz(59.2989, 46.4226, 98.7461)
Luminance0.4642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9DFD #BEFD9D
analogous
#AC9DFD #DC9DFD #FD9DEE
triadic
#DC9DFD #FDDC9D #9DFDDC
tetradic
#DC9DFD #FDAC9D #BEFD9D #9DEEFD
square
#DC9DFD #FDAC9D #BEFD9D #9DEEFD
split-complementary
#DC9DFD #EEFD9D #9DFDAC
monochromatic
#B125FB #C761FC #DC9DFD #F1D9FE #F4E1FE

Accessibility & contrast

On white

2.04
#DC9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#DC9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9DFD
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9DFD#FFFFFF#000000##000000
##DC9DFD1.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#9BB7FA
Tritanopia (blue-blind)
#D9AAC1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dc9dfd;
/* rgb */ color: rgb(220, 157, 253);
/* oklch */ color: oklch(79.0% 0.147 313.4);
Tailwind
colors: {
  custom: {
    50: '#e8bbfe',
    500: '#dc9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #dc9dfd;
$custom-light: #e8bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9dfd",
  "rgb": {
    "r": 220,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 279.375,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79042,
    "c": 0.14704,
    "h": 313.4
  },
  "luminance": 0.46421
}

Semantic roles & 50–950 ramp

primary
#DC9DFD
secondary
#E0F7D4
accent
#E6004F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DC9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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