#DC5FEC#DC5FEC

#DC5FEC is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.4% C 0.227 H 323.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#DC5FEC
RGBrgb(220, 95, 236)
HSLhsl(293, 79%, 65%)
HSVhsv(293, 60%, 93%)
CMYKcmyk(6.8%, 59.7%, 0%, 7.5%)
CIE-LABlab(61.18, 67.53, -49.22)
CIE-LCHlch(61.18, 83.57, 323.91°)
OKLaboklab(69.42% 0.1814 -0.1367)
OKLCHoklch(69.42% 0.227 323)
XYZxyz(48.7463, 29.4588, 82.4591)
Luminance0.2946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FEC #6FEC5F
analogous
#955FEC #DC5FEC #EC5FB6
triadic
#DC5FEC #ECDC5F #5FECDC
tetradic
#DC5FEC #EC955F #6FEC5F #5FB6EC
square
#DC5FEC #EC955F #6FEC5F #5FB6EC
split-complementary
#DC5FEC #B6EC5F #5FEC95
monochromatic
#A816BA #D028E6 #DC5FEC #E896F2 #F4CCF9

Accessibility & contrast

On white

3.05
#DC5FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#DC5FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FEC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FEC#FFFFFF#000000##000000
##DC5FEC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#DF749D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #dc5fec;
/* rgb */ color: rgb(220, 95, 236);
/* oklch */ color: oklch(69.4% 0.227 323.0);
Tailwind
colors: {
  custom: {
    50: '#ea93f3',
    500: '#dc5fec',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fec;
$custom-light: #ea93f3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fec",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 293.191,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69415,
    "c": 0.22712,
    "h": 323
  },
  "luminance": 0.29456
}

Semantic roles & 50–950 ramp

primary
#DC5FEC
secondary
#C1EBBB
accent
#DB0A22
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #DC5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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