#DC5FE2#DC5FE2

#DC5FE2 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.9% C 0.218 H 325.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#DC5FE2
RGBrgb(220, 95, 226)
HSLhsl(297, 69%, 63%)
HSVhsv(297, 58%, 89%)
CMYKcmyk(2.7%, 58%, 0%, 11.4%)
CIE-LABlab(60.69, 65.77, -44.43)
CIE-LCHlch(60.69, 79.37, 325.96°)
OKLaboklab(68.89% 0.1807 -0.1228)
OKLCHoklch(68.89% 0.218 325.8)
XYZxyz(47.3339, 28.8938, 75.0206)
Luminance0.2889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5FE2 #65E25F
analogous
#9A5FE2 #DC5FE2 #E25FA6
triadic
#DC5FE2 #E2DC5F #5FE2DC
tetradic
#DC5FE2 #E29A5F #65E25F #5FA6E2
square
#DC5FE2 #E29A5F #65E25F #5FA6E2
split-complementary
#DC5FE2 #A6E25F #5FE29A
monochromatic
#A21EA8 #D12BD9 #DC5FE2 #E793EB #F3C7F5

Accessibility & contrast

On white

3.10
#DC5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#DC5FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5FE2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5FE2#FFFFFF#000000##000000
##DC5FE21.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#7898DE
Tritanopia (blue-blind)
#E17098
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #dc5fe2;
/* rgb */ color: rgb(220, 95, 226);
/* oklch */ color: oklch(68.9% 0.218 325.8);
Tailwind
colors: {
  custom: {
    50: '#ea93eb',
    500: '#dc5fe2',
    950: '#000000',
  },
}
SCSS
$custom: #dc5fe2;
$custom-light: #ea93eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5fe2",
  "rgb": {
    "r": 220,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 297.252,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68892,
    "c": 0.21849,
    "h": 325.8
  },
  "luminance": 0.28891
}

Semantic roles & 50–950 ramp

primary
#DC5FE2
secondary
#B9E6B7
accent
#D1141D
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #DC5FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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