#DC8EFC#DC8EFC

#DC8EFC is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.6% C 0.171 H 315.5°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#DC8EFC
RGBrgb(220, 142, 252)
HSLhsl(283, 95%, 77%)
HSVhsv(283, 44%, 99%)
CMYKcmyk(12.7%, 43.7%, 0%, 1.2%)
CIE-LABlab(70.59, 47.82, -43.23)
CIE-LCHlch(70.59, 64.46, 317.89°)
OKLaboklab(76.6% 0.1218 -0.1196)
OKLCHoklch(76.6% 0.171 315.5)
XYZxyz(56.7562, 41.5914, 97.1147)
Luminance0.4159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EFC #AEFC8E
analogous
#A58EFC #DC8EFC #FC8EE5
triadic
#DC8EFC #FCDC8E #8EFCDC
tetradic
#DC8EFC #FCA58E #AEFC8E #8EE5FC
square
#DC8EFC #FCA58E #AEFC8E #8EE5FC
split-complementary
#DC8EFC #E5FC8E #8EFCA5
monochromatic
#B717F9 #CA52FA #DC8EFC #EECAFE #F6E1FE

Accessibility & contrast

On white

2.25
#DC8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#DC8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EFC
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EFC#FFFFFF#000000##000000
##DC8EFC1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#DA9DB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc8efc;
/* rgb */ color: rgb(220, 142, 252);
/* oklch */ color: oklch(76.6% 0.171 315.5);
Tailwind
colors: {
  custom: {
    50: '#e8b1fe',
    500: '#dc8efc',
    950: '#000000',
  },
}
SCSS
$custom: #dc8efc;
$custom-light: #e8b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8efc",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 282.545,
    "s": 94.828,
    "l": 77.255
  },
  "oklch": {
    "l": 0.766,
    "c": 0.17077,
    "h": 315.5
  },
  "luminance": 0.4159
}

Semantic roles & 50–950 ramp

primary
#DC8EFC
secondary
#DEF6D5
accent
#E60043
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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