#DC8DFB#DC8DFB

#DC8DFB is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.4% C 0.171 H 315.9°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#DC8DFB
RGBrgb(220, 141, 251)
HSLhsl(283, 93%, 77%)
HSVhsv(283, 44%, 98%)
CMYKcmyk(12.4%, 43.8%, 0%, 1.6%)
CIE-LABlab(70.34, 48.14, -43.07)
CIE-LCHlch(70.34, 64.60, 318.18°)
OKLaboklab(76.4% 0.1231 -0.1192)
OKLCHoklch(76.4% 0.171 315.9)
XYZxyz(56.4500, 41.2320, 96.2330)
Luminance0.4123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8DFB #ACFB8D
analogous
#A58DFB #DC8DFB #FB8DE3
triadic
#DC8DFB #FBDC8D #8DFBDC
tetradic
#DC8DFB #FBA58D #ACFB8D #8DE3FB
square
#DC8DFB #FBA58D #ACFB8D #8DE3FB
split-complementary
#DC8DFB #E3FB8D #8DFBA5
monochromatic
#B817F7 #CA52F9 #DC8DFB #EEC8FD #F6E1FE

Accessibility & contrast

On white

2.27
#DC8DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#DC8DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8DFB
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8DFB#FFFFFF#000000##000000
##DC8DFB1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#8EAEF8
Tritanopia (blue-blind)
#DB9CB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8dfb;
/* rgb */ color: rgb(220, 141, 251);
/* oklch */ color: oklch(76.4% 0.171 315.9);
Tailwind
colors: {
  custom: {
    50: '#e8b0fd',
    500: '#dc8dfb',
    950: '#000000',
  },
}
SCSS
$custom: #dc8dfb;
$custom-light: #e8b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8dfb",
  "rgb": {
    "r": 220,
    "g": 141,
    "b": 251
  },
  "hsl": {
    "h": 283.091,
    "s": 93.22,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76399,
    "c": 0.17133,
    "h": 315.9
  },
  "luminance": 0.4123
}

Semantic roles & 50–950 ramp

primary
#DC8DFB
secondary
#DEF6D5
accent
#E60041
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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