#CD5FEA#CD5FEA

#CD5FEA is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.4% C 0.218 H 318.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#CD5FEA
RGBrgb(205, 95, 234)
HSLhsl(287, 77%, 65%)
HSVhsv(287, 59%, 92%)
CMYKcmyk(12.4%, 59.4%, 0%, 8.2%)
CIE-LABlab(59.07, 63.55, -51.59)
CIE-LCHlch(59.07, 81.85, 320.93°)
OKLaboklab(67.43% 0.1642 -0.144)
OKLCHoklch(67.43% 0.218 318.8)
XYZxyz(44.1184, 27.1059, 80.7340)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FEA #7CEA5F
analogous
#885FEA #CD5FEA #EA5FC2
triadic
#CD5FEA #EACD5F #5FEACD
tetradic
#CD5FEA #EA885F #7CEA5F #5FC2EA
square
#CD5FEA #EA885F #7CEA5F #5FC2EA
split-complementary
#CD5FEA #C2EA5F #5FEA88
monochromatic
#9618B7 #BC29E3 #CD5FEA #DE95F1 #EFCBF8

Accessibility & contrast

On white

3.27
#CD5FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#CD5FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FEA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FEA#FFFFFF#000000##000000
##CD5FEA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C87EE
Deuteranopia (green-blind)
#6792E6
Tritanopia (blue-blind)
#CD769C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5fea;
/* rgb */ color: rgb(205, 95, 234);
/* oklch */ color: oklch(67.4% 0.218 318.8);
Tailwind
colors: {
  custom: {
    50: '#df92f1',
    500: '#cd5fea',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fea;
$custom-light: #df92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fea",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 287.482,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6743,
    "c": 0.21836,
    "h": 318.8
  },
  "luminance": 0.27104
}

Semantic roles & 50–950 ramp

primary
#CD5FEA
secondary
#C4EABA
accent
#D90C37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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