#DC8DF2#DC8DF2

#DC8DF2 is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.0% C 0.162 H 318.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#DC8DF2
RGBrgb(220, 141, 242)
HSLhsl(287, 80%, 75%)
HSVhsv(287, 42%, 95%)
CMYKcmyk(9.1%, 41.7%, 0%, 5.1%)
CIE-LABlab(69.95, 46.35, -38.77)
CIE-LCHlch(69.95, 60.42, 320.09°)
OKLaboklab(75.98% 0.1215 -0.1068)
OKLCHoklch(75.98% 0.162 318.7)
XYZxyz(55.0649, 40.6779, 88.9382)
Luminance0.4068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8DF2 #A3F28D
analogous
#AA8DF2 #DC8DF2 #F28DD5
triadic
#DC8DF2 #F2DC8D #8DF2DC
tetradic
#DC8DF2 #F2AA8D #A3F28D #8DD5F2
square
#DC8DF2 #F2AA8D #A3F28D #8DD5F2
split-complementary
#DC8DF2 #D5F28D #8DF2AA
monochromatic
#BA1FE5 #CB56EC #DC8DF2 #EDC4F8 #F7E4FC

Accessibility & contrast

On white

2.30
#DC8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#DC8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8DF2
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8DF2#FFFFFF#000000##000000
##DC8DF21.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#93AEEF
Tritanopia (blue-blind)
#DD9AB4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8df2;
/* rgb */ color: rgb(220, 141, 242);
/* oklch */ color: oklch(76.0% 0.162 318.7);
Tailwind
colors: {
  custom: {
    50: '#e8b0f6',
    500: '#dc8df2',
    950: '#000000',
  },
}
SCSS
$custom: #dc8df2;
$custom-light: #e8b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8df2",
  "rgb": {
    "r": 220,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 286.931,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75981,
    "c": 0.16177,
    "h": 318.7
  },
  "luminance": 0.40676
}

Semantic roles & 50–950 ramp

primary
#DC8DF2
secondary
#DDF4D7
accent
#DC0A37
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161117
muted
#848085

Preview Lab

Preview with #DC8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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