#DC9FF2#DC9FF2

#DC9FF2 is a light, vivid purple. Relative luminance 0.464; OKLCH L 78.9% C 0.131 H 316.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#DC9FF2
RGBrgb(220, 159, 242)
HSLhsl(284, 76%, 79%)
HSVhsv(284, 34%, 95%)
CMYKcmyk(9.1%, 34.3%, 0%, 5.1%)
CIE-LABlab(73.82, 36.79, -32.76)
CIE-LCHlch(73.82, 49.27, 318.32°)
OKLaboklab(78.9% 0.0958 -0.0898)
OKLCHoklch(78.9% 0.131 316.8)
XYZxyz(57.9380, 46.4241, 89.8958)
Luminance0.4642 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC9FF2 #B5F29F
analogous
#B29FF2 #DC9FF2 #F29FDE
triadic
#DC9FF2 #F2DC9F #9FF2DC
tetradic
#DC9FF2 #F2B29F #B5F29F #9FDEF2
square
#DC9FF2 #F2B29F #B5F29F #9FDEF2
split-complementary
#DC9FF2 #DEF29F #9FF2B2
monochromatic
#B533E3 #C869EB #DC9FF2 #F0D5F9 #F5E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC9FF2#FFFFFF#000000##000000
##DC9FF21.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)
#93B2F5
Deuteranopia (green-blind)
#A2B7EF
Tritanopia (blue-blind)
#DCA9BE
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #dc9ff2;
/* rgb */ color: rgb(220, 159, 242);
/* oklch */ color: oklch(78.9% 0.131 316.8);
Tailwind
colors: {
  custom: {
    50: '#e8bcf6',
    500: '#dc9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #dc9ff2;
$custom-light: #e8bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc9ff2",
  "rgb": {
    "r": 220,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 284.096,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78899,
    "c": 0.13126,
    "h": 316.8
  },
  "luminance": 0.46423
}

Semantic roles & 50–950 ramp

primary
#DC9FF2
secondary
#DFF3D8
accent
#D80D43
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DC9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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