#DC8EFD#DC8EFD

#DC8EFD is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.6% C 0.172 H 315.2°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#DC8EFD
RGBrgb(220, 142, 253)
HSLhsl(282, 97%, 77%)
HSVhsv(282, 44%, 99%)
CMYKcmyk(13%, 43.9%, 0%, 0.8%)
CIE-LABlab(70.63, 48.02, -43.70)
CIE-LCHlch(70.63, 64.93, 317.70°)
OKLaboklab(76.65% 0.122 -0.121)
OKLCHoklch(76.65% 0.172 315.2)
XYZxyz(56.9151, 41.6550, 97.9515)
Luminance0.4165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EFD #AFFD8E
analogous
#A48EFD #DC8EFD #FD8EE7
triadic
#DC8EFD #FDDC8E #8EFDDC
tetradic
#DC8EFD #FDA48E #AFFD8E #8EE7FD
square
#DC8EFD #FDA48E #AFFD8E #8EE7FD
split-complementary
#DC8EFD #E7FD8E #8EFDA4
monochromatic
#B716FB #C952FC #DC8EFD #EFCAFE #F6E1FE

Accessibility & contrast

On white

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

On black

9.33
#DC8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EFD
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EFD#FFFFFF#000000##000000
##DC8EFD1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#DA9EBA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc8efd;
/* rgb */ color: rgb(220, 142, 253);
/* oklch */ color: oklch(76.6% 0.172 315.2);
Tailwind
colors: {
  custom: {
    50: '#e9b1fe',
    500: '#dc8efd',
    950: '#000000',
  },
}
SCSS
$custom: #dc8efd;
$custom-light: #e9b1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8efd",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 282.162,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76648,
    "c": 0.17184,
    "h": 315.2
  },
  "luminance": 0.41653
}

Semantic roles & 50–950 ramp

primary
#DC8EFD
secondary
#DFF7D4
accent
#E60044
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DC8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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