#DC8CFC#DC8CFC

#DC8CFC is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.3% C 0.174 H 315.7°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#DC8CFC
RGBrgb(220, 140, 252)
HSLhsl(283, 95%, 77%)
HSVhsv(283, 44%, 99%)
CMYKcmyk(12.7%, 44.4%, 0%, 1.2%)
CIE-LABlab(70.18, 48.86, -43.87)
CIE-LCHlch(70.18, 65.67, 318.08°)
OKLaboklab(76.29% 0.1246 -0.1215)
OKLCHoklch(76.29% 0.174 315.7)
XYZxyz(56.4613, 41.0016, 97.0164)
Luminance0.4100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CFC #ACFC8C
analogous
#A48CFC #DC8CFC #FC8CE4
triadic
#DC8CFC #FCDC8C #8CFCDC
tetradic
#DC8CFC #FCA48C #ACFC8C #8CE4FC
square
#DC8CFC #FCA48C #ACFC8C #8CE4FC
split-complementary
#DC8CFC #E4FC8C #8CFCA4
monochromatic
#B815F9 #CA50FA #DC8CFC #EEC8FE #F6E1FE

Accessibility & contrast

On white

2.28
#DC8CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#DC8CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CFC
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CFC#FFFFFF#000000##000000
##DC8CFC1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#DA9CB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8cfc;
/* rgb */ color: rgb(220, 140, 252);
/* oklch */ color: oklch(76.3% 0.174 315.7);
Tailwind
colors: {
  custom: {
    50: '#e9affe',
    500: '#dc8cfc',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cfc;
$custom-light: #e9affe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cfc",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 282.857,
    "s": 94.915,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76293,
    "c": 0.17403,
    "h": 315.7
  },
  "luminance": 0.41
}

Semantic roles & 50–950 ramp

primary
#DC8CFC
secondary
#DEF6D5
accent
#E60042
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #DC8CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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