#DC8EFF#DC8EFF

#DC8EFF is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.7% C 0.174 H 314.7°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#DC8EFF
RGBrgb(220, 142, 255)
HSLhsl(281, 100%, 78%)
HSVhsv(281, 44%, 100%)
CMYKcmyk(13.7%, 44.3%, 0%, 0%)
CIE-LABlab(70.72, 48.43, -44.65)
CIE-LCHlch(70.72, 65.87, 317.32°)
OKLaboklab(76.74% 0.1223 -0.1238)
OKLCHoklch(76.74% 0.174 314.7)
XYZxyz(57.2353, 41.7831, 99.6382)
Luminance0.4178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EFF #B1FF8E
analogous
#A38EFF #DC8EFF #FF8EE9
triadic
#DC8EFF #FFDC8E #8EFFDC
tetradic
#DC8EFF #FFA38E #B1FF8E #8EE9FF
square
#DC8EFF #FFA38E #B1FF8E #8EE9FF
split-complementary
#DC8EFF #E9FF8E #8EFFA3
monochromatic
#B614FF #C951FF #DC8EFF #EFCBFF #F6E0FF

Accessibility & contrast

On white

2.24
#DC8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#DC8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EFF
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EFF#FFFFFF#000000##000000
##DC8EFF1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#8DAFFC
Tritanopia (blue-blind)
#DA9EBB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc8eff;
/* rgb */ color: rgb(220, 142, 255);
/* oklch */ color: oklch(76.7% 0.174 314.7);
Tailwind
colors: {
  custom: {
    50: '#e9b1ff',
    500: '#dc8eff',
    950: '#000000',
  },
}
SCSS
$custom: #dc8eff;
$custom-light: #e9b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8eff",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 281.416,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76743,
    "c": 0.17401,
    "h": 314.7
  },
  "luminance": 0.41782
}

Semantic roles & 50–950 ramp

primary
#DC8EFF
secondary
#DFF7D4
accent
#E60047
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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