#DC91EC#DC91EC

#DC91EC is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.3% C 0.149 H 320.4°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#DC91EC
RGBrgb(220, 145, 236)
HSLhsl(289, 71%, 75%)
HSVhsv(289, 39%, 93%)
CMYKcmyk(6.8%, 38.6%, 0%, 7.5%)
CIE-LABlab(70.54, 43.07, -34.56)
CIE-LCHlch(70.54, 55.22, 321.26°)
OKLaboklab(76.34% 0.1146 -0.0948)
OKLCHoklch(76.34% 0.149 320.4)
XYZxyz(54.7790, 41.5243, 84.4700)
Luminance0.4152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC91EC #A1EC91
analogous
#AF91EC #DC91EC #EC91CE
triadic
#DC91EC #ECDC91 #91ECDC
tetradic
#DC91EC #ECAF91 #A1EC91 #91CEEC
square
#DC91EC #ECAF91 #A1EC91 #91CEEC
split-complementary
#DC91EC #CEEC91 #91ECAF
monochromatic
#BB29DA #CB5DE3 #DC91EC #EDC5F5 #F7E5FA

Accessibility & contrast

On white

2.26
#DC91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#DC91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC91EC
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC91EC#FFFFFF#000000##000000
##DC91EC1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#DE9CB4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #dc91ec;
/* rgb */ color: rgb(220, 145, 236);
/* oklch */ color: oklch(76.3% 0.149 320.4);
Tailwind
colors: {
  custom: {
    50: '#e8b2f2',
    500: '#dc91ec',
    950: '#000000',
  },
}
SCSS
$custom: #dc91ec;
$custom-light: #e8b2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc91ec",
  "rgb": {
    "r": 220,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 289.451,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76344,
    "c": 0.14873,
    "h": 320.4
  },
  "luminance": 0.41523
}

Semantic roles & 50–950 ramp

primary
#DC91EC
secondary
#DDF2D9
accent
#D31335
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DC91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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