#DC8CF5#DC8CF5

#DC8CF5 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.0% C 0.167 H 317.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#DC8CF5
RGBrgb(220, 140, 245)
HSLhsl(286, 84%, 75%)
HSVhsv(286, 43%, 96%)
CMYKcmyk(10.2%, 42.9%, 0%, 3.9%)
CIE-LABlab(69.87, 47.46, -40.53)
CIE-LCHlch(69.87, 62.41, 319.50°)
OKLaboklab(75.96% 0.1234 -0.1119)
OKLCHoklch(75.96% 0.167 317.8)
XYZxyz(55.3724, 40.5661, 91.2817)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC8CF5 #A5F58C
analogous
#A78CF5 #DC8CF5 #F58CDA
triadic
#DC8CF5 #F5DC8C #8CF5DC
tetradic
#DC8CF5 #F5A78C #A5F58C #8CDAF5
square
#DC8CF5 #F5A78C #A5F58C #8CDAF5
split-complementary
#DC8CF5 #DAF58C #8CF5A7
monochromatic
#BA1BEB #CB54F0 #DC8CF5 #EDC4FA #F6E3FD

Accessibility & contrast

On white

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

On black

9.11
#DC8CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC8CF5
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC8CF5#FFFFFF#000000##000000
##DC8CF51.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F9
Deuteranopia (green-blind)
#90ADF2
Tritanopia (blue-blind)
#DC9AB5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc8cf5;
/* rgb */ color: rgb(220, 140, 245);
/* oklch */ color: oklch(76.0% 0.167 317.8);
Tailwind
colors: {
  custom: {
    50: '#e8aff9',
    500: '#dc8cf5',
    950: '#000000',
  },
}
SCSS
$custom: #dc8cf5;
$custom-light: #e8aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc8cf5",
  "rgb": {
    "r": 220,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 285.714,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75964,
    "c": 0.16659,
    "h": 317.8
  },
  "luminance": 0.40564
}

Semantic roles & 50–950 ramp

primary
#DC8CF5
secondary
#DEF4D7
accent
#E00539
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC8CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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