#DC8EF9#DC8EF9

#DC8EF9 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.5% C 0.168 H 316.4°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#DC8EF9
RGBrgb(220, 142, 249)
HSLhsl(284, 90%, 77%)
HSVhsv(284, 43%, 98%)
CMYKcmyk(11.6%, 43%, 0%, 2.4%)
CIE-LABlab(70.46, 47.22, -41.80)
CIE-LCHlch(70.46, 63.06, 318.48°)
OKLaboklab(76.46% 0.1213 -0.1155)
OKLCHoklch(76.46% 0.168 316.4)
XYZxyz(56.2846, 41.4028, 94.6308)
Luminance0.4140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EF9 #ABF98E
analogous
#A78EF9 #DC8EF9 #F98EE1
triadic
#DC8EF9 #F9DC8E #8EF9DC
tetradic
#DC8EF9 #F9A78E #ABF98E #8EE1F9
square
#DC8EF9 #F9A78E #ABF98E #8EE1F9
split-complementary
#DC8EF9 #E1F98E #8EF9A7
monochromatic
#B81AF3 #CA54F6 #DC8EF9 #EEC8FC #F6E2FD

Accessibility & contrast

On white

2.26
#DC8EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#DC8EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EF9
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EF9#FFFFFF#000000##000000
##DC8EF91.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#90AFF6
Tritanopia (blue-blind)
#DB9DB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8ef9;
/* rgb */ color: rgb(220, 142, 249);
/* oklch */ color: oklch(76.5% 0.168 316.4);
Tailwind
colors: {
  custom: {
    50: '#e8b1fb',
    500: '#dc8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ef9;
$custom-light: #e8b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ef9",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 283.738,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76459,
    "c": 0.16755,
    "h": 316.4
  },
  "luminance": 0.41401
}

Semantic roles & 50–950 ramp

primary
#DC8EF9
secondary
#DEF6D5
accent
#E6003E
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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