#DC8CF9#DC8CF9

#DC8CF9 is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.2% C 0.171 H 316.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#DC8CF9
RGBrgb(220, 140, 249)
HSLhsl(284, 90%, 76%)
HSVhsv(284, 44%, 98%)
CMYKcmyk(11.6%, 43.8%, 0%, 2.4%)
CIE-LABlab(70.04, 48.26, -42.44)
CIE-LCHlch(70.04, 64.27, 318.67°)
OKLaboklab(76.15% 0.1241 -0.1174)
OKLCHoklch(76.15% 0.171 316.6)
XYZxyz(55.9897, 40.8130, 94.5325)
Luminance0.4081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CF9 #A9F98C
analogous
#A68CF9 #DC8CF9 #F98CE0
triadic
#DC8CF9 #F9DC8C #8CF9DC
tetradic
#DC8CF9 #F9A68C #A9F98C #8CE0F9
square
#DC8CF9 #F9A68C #A9F98C #8CE0F9
split-complementary
#DC8CF9 #E0F98C #8CF9A6
monochromatic
#B918F3 #CA52F6 #DC8CF9 #EEC6FC #F6E2FD

Accessibility & contrast

On white

2.29
#DC8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#DC8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CF9
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CF9#FFFFFF#000000##000000
##DC8CF91.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FD
Deuteranopia (green-blind)
#8FAEF6
Tritanopia (blue-blind)
#DB9BB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8cf9;
/* rgb */ color: rgb(220, 140, 249);
/* oklch */ color: oklch(76.2% 0.171 316.6);
Tailwind
colors: {
  custom: {
    50: '#e8affb',
    500: '#dc8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cf9;
$custom-light: #e8affb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cf9",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 284.037,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76151,
    "c": 0.17083,
    "h": 316.6
  },
  "luminance": 0.40811
}

Semantic roles & 50–950 ramp

primary
#DC8CF9
secondary
#DEF6D5
accent
#E6003D
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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