#DC8EF4#DC8EF4

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

Color values

HEX#DC8EF4
RGBrgb(220, 142, 244)
HSLhsl(286, 82%, 76%)
HSVhsv(286, 42%, 96%)
CMYKcmyk(9.8%, 41.8%, 0%, 4.3%)
CIE-LABlab(70.24, 46.22, -39.40)
CIE-LCHlch(70.24, 60.74, 319.55°)
OKLaboklab(76.23% 0.1205 -0.1086)
OKLCHoklch(76.23% 0.162 317.9)
XYZxyz(55.5151, 41.0950, 90.5782)
Luminance0.4109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EF4 #A6F48E
analogous
#A98EF4 #DC8EF4 #F48ED9
triadic
#DC8EF4 #F4DC8E #8EF4DC
tetradic
#DC8EF4 #F4A98E #A6F48E #8ED9F4
square
#DC8EF4 #F4A98E #A6F48E #8ED9F4
split-complementary
#DC8EF4 #D9F48E #8EF4A9
monochromatic
#B91EE9 #CB56EF #DC8EF4 #EDC6F9 #F6E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC8EF4#FFFFFF#000000##000000
##DC8EF41.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)
#7EA7F8
Deuteranopia (green-blind)
#92AEF1
Tritanopia (blue-blind)
#DC9BB6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8ef4;
/* rgb */ color: rgb(220, 142, 244);
/* oklch */ color: oklch(76.2% 0.162 317.9);
Tailwind
colors: {
  custom: {
    50: '#e8b1f8',
    500: '#dc8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ef4;
$custom-light: #e8b1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ef4",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 285.882,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76228,
    "c": 0.16221,
    "h": 317.9
  },
  "luminance": 0.41093
}

Semantic roles & 50–950 ramp

primary
#DC8EF4
secondary
#DEF4D7
accent
#DF073A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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