#DC8CFA#DC8CFA

#DC8CFA is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.2% C 0.172 H 316.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#DC8CFA
RGBrgb(220, 140, 250)
HSLhsl(284, 92%, 76%)
HSVhsv(284, 44%, 98%)
CMYKcmyk(12%, 44%, 0%, 2%)
CIE-LABlab(70.09, 48.46, -42.92)
CIE-LCHlch(70.09, 64.73, 318.47°)
OKLaboklab(76.2% 0.1243 -0.1187)
OKLCHoklch(76.2% 0.172 316.3)
XYZxyz(56.1460, 40.8755, 95.3561)
Luminance0.4087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CFA #AAFA8C
analogous
#A58CFA #DC8CFA #FA8CE1
triadic
#DC8CFA #FADC8C #8CFADC
tetradic
#DC8CFA #FAA58C #AAFA8C #8CE1FA
square
#DC8CFA #FAA58C #AAFA8C #8CE1FA
split-complementary
#DC8CFA #E1FA8C #8CFAA5
monochromatic
#B817F5 #CA51F7 #DC8CFA #EEC7FD #F6E2FE

Accessibility & contrast

On white

2.29
#DC8CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#DC8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CFA
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CFA#FFFFFF#000000##000000
##DC8CFA1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#DB9BB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8cfa;
/* rgb */ color: rgb(220, 140, 250);
/* oklch */ color: oklch(76.2% 0.172 316.3);
Tailwind
colors: {
  custom: {
    50: '#e9affc',
    500: '#dc8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cfa;
$custom-light: #e9affc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cfa",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 283.636,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76198,
    "c": 0.17189,
    "h": 316.3
  },
  "luminance": 0.40874
}

Semantic roles & 50–950 ramp

primary
#DC8CFA
secondary
#DEF6D5
accent
#E6003F
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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