#DC8EF5#DC8EF5

#DC8EF5 is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.3% C 0.163 H 317.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#DC8EF5
RGBrgb(220, 142, 245)
HSLhsl(285, 84%, 76%)
HSVhsv(285, 42%, 96%)
CMYKcmyk(10.2%, 42%, 0%, 3.9%)
CIE-LABlab(70.28, 46.42, -39.88)
CIE-LCHlch(70.28, 61.20, 319.33°)
OKLaboklab(76.27% 0.1206 -0.11)
OKLCHoklch(76.27% 0.163 317.6)
XYZxyz(55.6673, 41.1559, 91.3800)
Luminance0.4115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8EF5 #A7F58E
analogous
#A88EF5 #DC8EF5 #F58EDA
triadic
#DC8EF5 #F5DC8E #8EF5DC
tetradic
#DC8EF5 #F5A88E #A7F58E #8EDAF5
square
#DC8EF5 #F5A88E #A7F58E #8EDAF5
split-complementary
#DC8EF5 #DAF58E #8EF5A8
monochromatic
#B91EEB #CB56F0 #DC8EF5 #EDC6FA #F6E3FD

Accessibility & contrast

On white

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

On black

9.23
#DC8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8EF5
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8EF5#FFFFFF#000000##000000
##DC8EF51.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7F9
Deuteranopia (green-blind)
#92AEF2
Tritanopia (blue-blind)
#DC9CB6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #dc8ef5;
/* rgb */ color: rgb(220, 142, 245);
/* oklch */ color: oklch(76.3% 0.163 317.6);
Tailwind
colors: {
  custom: {
    50: '#e8b1f9',
    500: '#dc8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #dc8ef5;
$custom-light: #e8b1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8ef5",
  "rgb": {
    "r": 220,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 285.437,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76274,
    "c": 0.16327,
    "h": 317.6
  },
  "luminance": 0.41154
}

Semantic roles & 50–950 ramp

primary
#DC8EF5
secondary
#DEF4D7
accent
#E0053A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DC8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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