#DC8BF8#DC8BF8

#DC8BF8 is a light, vivid purple. Relative luminance 0.405; OKLCH L 75.9% C 0.171 H 317.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#DC8BF8
RGBrgb(220, 139, 248)
HSLhsl(285, 89%, 76%)
HSVhsv(285, 44%, 97%)
CMYKcmyk(11.3%, 44%, 0%, 2.7%)
CIE-LABlab(69.80, 48.58, -42.29)
CIE-LCHlch(69.80, 64.41, 318.96°)
OKLaboklab(75.95% 0.1253 -0.1169)
OKLCHoklch(75.95% 0.171 317)
XYZxyz(55.6886, 40.4598, 93.6647)
Luminance0.4046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8BF8 #A7F88B
analogous
#A58BF8 #DC8BF8 #F88BDD
triadic
#DC8BF8 #F8DC8B #8BF8DC
tetradic
#DC8BF8 #F8A58B #A7F88B #8BDDF8
square
#DC8BF8 #F8A58B #A7F88B #8BDDF8
split-complementary
#DC8BF8 #DDF88B #8BF8A5
monochromatic
#B918F1 #CB51F5 #DC8BF8 #EDC5FB #F6E2FD

Accessibility & contrast

On white

2.31
#DC8BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#DC8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8BF8
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8BF8#FFFFFF#000000##000000
##DC8BF81.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#DB9AB6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #dc8bf8;
/* rgb */ color: rgb(220, 139, 248);
/* oklch */ color: oklch(75.9% 0.171 317.0);
Tailwind
colors: {
  custom: {
    50: '#e8affb',
    500: '#dc8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #dc8bf8;
$custom-light: #e8affb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8bf8",
  "rgb": {
    "r": 220,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 284.587,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7595,
    "c": 0.1714,
    "h": 317
  },
  "luminance": 0.40458
}

Semantic roles & 50–950 ramp

primary
#DC8BF8
secondary
#DEF5D6
accent
#E5003B
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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