#DC5DF7#DC5DF7

#DC5DF7 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.8% C 0.239 H 320.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#DC5DF7
RGBrgb(220, 93, 247)
HSLhsl(289, 91%, 67%)
HSVhsv(289, 62%, 97%)
CMYKcmyk(10.9%, 62.3%, 0%, 3.1%)
CIE-LABlab(61.45, 70.38, -54.91)
CIE-LCHlch(61.45, 89.27, 322.04°)
OKLaboklab(69.79% 0.184 -0.1532)
OKLCHoklch(69.79% 0.239 320.2)
XYZxyz(50.2160, 29.7621, 91.0772)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC5DF7 #78F75D
analogous
#8F5DF7 #DC5DF7 #F75DC5
triadic
#DC5DF7 #F7DC5D #5DF7DC
tetradic
#DC5DF7 #F78F5D #78F75D #5DC5F7
square
#DC5DF7 #F78F5D #78F75D #5DC5F7
split-complementary
#DC5DF7 #C5F75D #5DF78F
monochromatic
#AD0ACF #CF23F4 #DC5DF7 #E997FA #F5D2FD

Accessibility & contrast

On white

3.02
#DC5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#DC5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC5DF7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC5DF7#FFFFFF#000000##000000
##DC5DF71.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#338CFC
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#DD77A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #dc5df7;
/* rgb */ color: rgb(220, 93, 247);
/* oklch */ color: oklch(69.8% 0.239 320.2);
Tailwind
colors: {
  custom: {
    50: '#ea92fa',
    500: '#dc5df7',
    950: '#000000',
  },
}
SCSS
$custom: #dc5df7;
$custom-light: #ea92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc5df7",
  "rgb": {
    "r": 220,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 289.481,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69792,
    "c": 0.23945,
    "h": 320.2
  },
  "luminance": 0.2976
}

Semantic roles & 50–950 ramp

primary
#DC5DF7
secondary
#C8F1BF
accent
#E60028
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DC5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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