#DC9FFC#DC9FFC

#DC9FFC is a light, vivid violet. Relative luminance 0.470; OKLCH L 79.3% C 0.143 H 313.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#DC9FFC
RGBrgb(220, 159, 252)
HSLhsl(279, 94%, 81%)
HSVhsv(279, 37%, 99%)
CMYKcmyk(12.7%, 36.9%, 0%, 1.2%)
CIE-LABlab(74.22, 38.82, -37.57)
CIE-LCHlch(74.22, 54.02, 315.93°)
OKLaboklab(79.33% 0.098 -0.1035)
OKLCHoklch(79.33% 0.143 313.4)
XYZxyz(59.4811, 47.0413, 98.0231)
Luminance0.4704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9FFC #BFFC9F
analogous
#AD9FFC #DC9FFC #FC9FED
triadic
#DC9FFC #FCDC9F #9FFCDC
tetradic
#DC9FFC #FCAD9F #BFFC9F #9FEDFC
square
#DC9FFC #FCAD9F #BFFC9F #9FEDFC
split-complementary
#DC9FFC #EDFC9F #9FFCAD
monochromatic
#B128F8 #C664FA #DC9FFC #F2DAFE #F4E1FE

Accessibility & contrast

On white

2.02
#DC9FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.41
#DC9FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC9FFC
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC9FFC#FFFFFF#000000##000000
##DC9FFC1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#9DB8F9
Tritanopia (blue-blind)
#DAACC2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #dc9ffc;
/* rgb */ color: rgb(220, 159, 252);
/* oklch */ color: oklch(79.3% 0.143 313.4);
Tailwind
colors: {
  custom: {
    50: '#e8bcfd',
    500: '#dc9ffc',
    950: '#000000',
  },
}
SCSS
$custom: #dc9ffc;
$custom-light: #e8bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9ffc",
  "rgb": {
    "r": 220,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 279.355,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79329,
    "c": 0.14256,
    "h": 313.4
  },
  "luminance": 0.4704
}

Semantic roles & 50–950 ramp

primary
#DC9FFC
secondary
#E0F6D5
accent
#E6004F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DC9FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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