#DC8CFB#DC8CFB

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

Color values

HEX#DC8CFB
RGBrgb(220, 140, 251)
HSLhsl(283, 93%, 77%)
HSVhsv(283, 44%, 98%)
CMYKcmyk(12.4%, 44.2%, 0%, 1.6%)
CIE-LABlab(70.13, 48.66, -43.40)
CIE-LCHlch(70.13, 65.20, 318.27°)
OKLaboklab(76.24% 0.1244 -0.1201)
OKLCHoklch(76.24% 0.173 316)
XYZxyz(56.3033, 40.9384, 96.1841)
Luminance0.4094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CFB #ABFB8C
analogous
#A58CFB #DC8CFB #FB8CE3
triadic
#DC8CFB #FBDC8C #8CFBDC
tetradic
#DC8CFB #FBA58C #ABFB8C #8CE3FB
square
#DC8CFB #FBA58C #ABFB8C #8CE3FB
split-complementary
#DC8CFB #E3FB8C #8CFBA5
monochromatic
#B816F7 #CA51F9 #DC8CFB #EEC7FD #F6E1FE

Accessibility & contrast

On white

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

On black

9.19
#DC8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CFB
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CFB#FFFFFF#000000##000000
##DC8CFB1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FF
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#DB9CB8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8cfb;
/* rgb */ color: rgb(220, 140, 251);
/* oklch */ color: oklch(76.2% 0.173 316.0);
Tailwind
colors: {
  custom: {
    50: '#e9affd',
    500: '#dc8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cfb;
$custom-light: #e9affd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cfb",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 283.243,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76245,
    "c": 0.17296,
    "h": 316
  },
  "luminance": 0.40937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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