#DC8BF9#DC8BF9

#DC8BF9 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.0% C 0.172 H 316.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#DC8BF9
RGBrgb(220, 139, 249)
HSLhsl(284, 90%, 76%)
HSVhsv(284, 44%, 98%)
CMYKcmyk(11.6%, 44.2%, 0%, 2.4%)
CIE-LABlab(69.84, 48.78, -42.76)
CIE-LCHlch(69.84, 64.87, 318.76°)
OKLaboklab(76% 0.1255 -0.1183)
OKLCHoklch(76% 0.172 316.7)
XYZxyz(55.8442, 40.5220, 94.4840)
Luminance0.4052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8BF9 #A8F98B
analogous
#A58BF9 #DC8BF9 #F98BDF
triadic
#DC8BF9 #F9DC8B #8BF9DC
tetradic
#DC8BF9 #F9A58B #A8F98B #8BDFF9
square
#DC8BF9 #F9A58B #A8F98B #8BDFF9
split-complementary
#DC8BF9 #DFF98B #8BF9A5
monochromatic
#B917F3 #CA51F6 #DC8BF9 #EEC5FC #F6E2FD

Accessibility & contrast

On white

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

On black

9.10
#DC8BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8BF9
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8BF9#FFFFFF#000000##000000
##DC8BF91.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FD
Deuteranopia (green-blind)
#8EADF6
Tritanopia (blue-blind)
#DB9AB6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8bf9;
/* rgb */ color: rgb(220, 139, 249);
/* oklch */ color: oklch(76.0% 0.172 316.7);
Tailwind
colors: {
  custom: {
    50: '#e9affb',
    500: '#dc8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #dc8bf9;
$custom-light: #e9affb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8bf9",
  "rgb": {
    "r": 220,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 284.182,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75997,
    "c": 0.17247,
    "h": 316.7
  },
  "luminance": 0.4052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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