#DC5BE7#DC5BE7

#DC5BE7 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.7% C 0.228 H 324.5°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#DC5BE7
RGBrgb(220, 91, 231)
HSLhsl(295, 74%, 63%)
HSVhsv(295, 61%, 91%)
CMYKcmyk(4.8%, 60.6%, 0%, 9.4%)
CIE-LABlab(60.31, 68.36, -47.82)
CIE-LCHlch(60.31, 83.42, 325.03°)
OKLaboklab(68.7% 0.1858 -0.1326)
OKLCHoklch(68.7% 0.228 324.5)
XYZxyz(47.6789, 28.4701, 78.5697)
Luminance0.2847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5BE7 #66E75B
analogous
#965BE7 #DC5BE7 #E75BAC
triadic
#DC5BE7 #E7DC5B #5BE7DC
tetradic
#DC5BE7 #E7965B #66E75B #5BACE7
square
#DC5BE7 #E7965B #66E75B #5BACE7
split-complementary
#DC5BE7 #ACE75B #5BE796
monochromatic
#A219AE #D126DF #DC5BE7 #E790EF #F3C6F7

Accessibility & contrast

On white

3.14
#DC5BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#DC5BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5BE7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5BE7#FFFFFF#000000##000000
##DC5BE71.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4387EB
Deuteranopia (green-blind)
#7397E3
Tritanopia (blue-blind)
#E06F99
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #dc5be7;
/* rgb */ color: rgb(220, 91, 231);
/* oklch */ color: oklch(68.7% 0.228 324.5);
Tailwind
colors: {
  custom: {
    50: '#ea91ef',
    500: '#dc5be7',
    950: '#000000',
  },
}
SCSS
$custom: #dc5be7;
$custom-light: #ea91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5be7",
  "rgb": {
    "r": 220,
    "g": 91,
    "b": 231
  },
  "hsl": {
    "h": 295.286,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68698,
    "c": 0.22827,
    "h": 324.5
  },
  "luminance": 0.28467
}

Semantic roles & 50–950 ramp

primary
#DC5BE7
secondary
#BAE8B6
accent
#D70F1F
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170D16
muted
#857E84

Preview Lab

Preview with #DC5BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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