#CD5FE3#CD5FE3

#CD5FE3 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.0% C 0.212 H 320.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CD5FE3
RGBrgb(205, 95, 227)
HSLhsl(290, 70%, 63%)
HSVhsv(290, 58%, 89%)
CMYKcmyk(9.7%, 58.1%, 0%, 11%)
CIE-LABlab(58.71, 62.22, -48.25)
CIE-LCHlch(58.71, 78.74, 322.21°)
OKLaboklab(67.05% 0.1639 -0.1342)
OKLCHoklch(67.05% 0.212 320.7)
XYZxyz(43.1325, 26.7116, 75.5420)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FE3 #75E35F
analogous
#8B5FE3 #CD5FE3 #E35FB7
triadic
#CD5FE3 #E3CD5F #5FE3CD
tetradic
#CD5FE3 #E38B5F #75E35F #5FB7E3
square
#CD5FE3 #E38B5F #75E35F #5FB7E3
split-complementary
#CD5FE3 #B7E35F #5FE38B
monochromatic
#931EAA #BD2BDA #CD5FE3 #DD93EC #EEC7F5

Accessibility & contrast

On white

3.31
#CD5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#CD5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FE3
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FE3#FFFFFF#000000##000000
##CD5FE31.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E7
Deuteranopia (green-blind)
#6B91E0
Tritanopia (blue-blind)
#CE7398
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5fe3;
/* rgb */ color: rgb(205, 95, 227);
/* oklch */ color: oklch(67.0% 0.212 320.7);
Tailwind
colors: {
  custom: {
    50: '#df92ec',
    500: '#cd5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fe3;
$custom-light: #df92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fe3",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 290,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67046,
    "c": 0.21186,
    "h": 320.7
  },
  "luminance": 0.2671
}

Semantic roles & 50–950 ramp

primary
#CD5FE3
secondary
#BFE7B7
accent
#D21333
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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