#DC8FEF#DC8FEF

#DC8FEF is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.2% C 0.155 H 319.5°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#DC8FEF
RGBrgb(220, 143, 239)
HSLhsl(288, 75%, 75%)
HSVhsv(288, 40%, 94%)
CMYKcmyk(7.9%, 40.2%, 0%, 6.3%)
CIE-LABlab(70.24, 44.71, -36.67)
CIE-LCHlch(70.24, 57.82, 320.64°)
OKLaboklab(76.16% 0.1181 -0.1008)
OKLCHoklch(76.16% 0.155 319.5)
XYZxyz(54.9156, 41.0943, 86.6838)
Luminance0.4109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8FEF #A2EF8F
analogous
#AC8FEF #DC8FEF #EF8FD2
triadic
#DC8FEF #EFDC8F #8FEFDC
tetradic
#DC8FEF #EFAC8F #A2EF8F #8FD2EF
square
#DC8FEF #EFAC8F #A2EF8F #8FD2EF
split-complementary
#DC8FEF #D2EF8F #8FEFAC
monochromatic
#BB24E0 #CB59E7 #DC8FEF #EDC5F7 #F7E4FB

Accessibility & contrast

On white

2.28
#DC8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#DC8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8FEF
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8FEF#FFFFFF#000000##000000
##DC8FEF1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#95AFEC
Tritanopia (blue-blind)
#DD9BB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8fef;
/* rgb */ color: rgb(220, 143, 239);
/* oklch */ color: oklch(76.2% 0.155 319.5);
Tailwind
colors: {
  custom: {
    50: '#e8b1f4',
    500: '#dc8fef',
    950: '#000000',
  },
}
SCSS
$custom: #dc8fef;
$custom-light: #e8b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8fef",
  "rgb": {
    "r": 220,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 288.125,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76159,
    "c": 0.15526,
    "h": 319.5
  },
  "luminance": 0.41093
}

Semantic roles & 50–950 ramp

primary
#DC8FEF
secondary
#DDF3D8
accent
#D70E36
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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