#DC8EF8#DC8EF8

#DC8EF8 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.4% C 0.166 H 316.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#DC8EF8
RGBrgb(220, 142, 248)
HSLhsl(284, 88%, 76%)
HSVhsv(284, 43%, 97%)
CMYKcmyk(11.3%, 42.7%, 0%, 2.7%)
CIE-LABlab(70.41, 47.01, -41.32)
CIE-LCHlch(70.41, 62.59, 318.69°)
OKLaboklab(76.41% 0.1212 -0.1142)
OKLCHoklch(76.41% 0.166 316.7)
XYZxyz(56.1290, 41.3405, 93.8115)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EF8 #AAF88E
analogous
#A78EF8 #DC8EF8 #F88EDF
triadic
#DC8EF8 #F8DC8E #8EF8DC
tetradic
#DC8EF8 #F8A78E #AAF88E #8EDFF8
square
#DC8EF8 #F8A78E #AAF88E #8EDFF8
split-complementary
#DC8EF8 #DFF88E #8EF8A7
monochromatic
#B81BF1 #CA54F4 #DC8EF8 #EEC8FC #F6E2FD

Accessibility & contrast

On white

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

On black

9.27
#DC8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EF8
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EF8#FFFFFF#000000##000000
##DC8EF81.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#91AFF5
Tritanopia (blue-blind)
#DB9CB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8ef8;
/* rgb */ color: rgb(220, 142, 248);
/* oklch */ color: oklch(76.4% 0.166 316.7);
Tailwind
colors: {
  custom: {
    50: '#e8b1fb',
    500: '#dc8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ef8;
$custom-light: #e8b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ef8",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 284.151,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76413,
    "c": 0.16647,
    "h": 316.7
  },
  "luminance": 0.41339
}

Semantic roles & 50–950 ramp

primary
#DC8EF8
secondary
#DEF5D6
accent
#E5013D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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