#DC5CEC#DC5CEC

#DC5CEC is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 69.1% C 0.231 H 323.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#DC5CEC
RGBrgb(220, 92, 236)
HSLhsl(293, 79%, 64%)
HSVhsv(293, 61%, 93%)
CMYKcmyk(6.8%, 61%, 0%, 7.5%)
CIE-LABlab(60.72, 68.81, -49.96)
CIE-LCHlch(60.72, 85.04, 324.02°)
OKLaboklab(69.08% 0.1849 -0.1388)
OKLCHoklch(69.08% 0.231 323.1)
XYZxyz(48.4812, 28.9287, 82.3708)
Luminance0.2893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5CEC #6CEC5C
analogous
#945CEC #DC5CEC #EC5CB4
triadic
#DC5CEC #ECDC5C #5CECDC
tetradic
#DC5CEC #EC945C #6CEC5C #5CB4EC
square
#DC5CEC #EC945C #6CEC5C #5CB4EC
split-complementary
#DC5CEC #B4EC5C #5CEC94
monochromatic
#A615B8 #D025E6 #DC5CEC #E893F2 #F4CAF9

Accessibility & contrast

On white

3.09
#DC5CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#DC5CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5CEC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5CEC#FFFFFF#000000##000000
##DC5CEC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#DF729C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #dc5cec;
/* rgb */ color: rgb(220, 92, 236);
/* oklch */ color: oklch(69.1% 0.231 323.1);
Tailwind
colors: {
  custom: {
    50: '#ea92f3',
    500: '#dc5cec',
    950: '#000000',
  },
}
SCSS
$custom: #dc5cec;
$custom-light: #ea92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5cec",
  "rgb": {
    "r": 220,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 293.333,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69077,
    "c": 0.23119,
    "h": 323.1
  },
  "luminance": 0.28926
}

Semantic roles & 50–950 ramp

primary
#DC5CEC
secondary
#BEEBB9
accent
#DB0A21
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170D17
muted
#857E85

Preview Lab

Preview with #DC5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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