#CD59EB#CD59EB

#CD59EB is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.8% C 0.228 H 318.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CD59EB
RGBrgb(205, 89, 235)
HSLhsl(288, 78%, 64%)
HSVhsv(288, 62%, 92%)
CMYKcmyk(12.8%, 62.1%, 0%, 7.8%)
CIE-LABlab(58.15, 66.40, -53.60)
CIE-LCHlch(58.15, 85.34, 321.09°)
OKLaboklab(66.78% 0.1713 -0.1498)
OKLCHoklch(66.78% 0.228 318.8)
XYZxyz(43.7426, 26.1239, 81.3194)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD59EB #77EB59
analogous
#8459EB #CD59EB #EB59C0
triadic
#CD59EB #EBCD59 #59EBCD
tetradic
#CD59EB #EB8459 #77EB59 #59C0EB
square
#CD59EB #EB8459 #77EB59 #59C0EB
split-complementary
#CD59EB #C0EB59 #59EB84
monochromatic
#9316B4 #BD22E4 #CD59EB #DD90F2 #EEC6F8

Accessibility & contrast

On white

3.37
#CD59EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CD59EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD59EB
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD59EB#FFFFFF#000000##000000
##CD59EB1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#CD729A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd59eb;
/* rgb */ color: rgb(205, 89, 235);
/* oklch */ color: oklch(66.8% 0.228 318.8);
Tailwind
colors: {
  custom: {
    50: '#e08ff2',
    500: '#cd59eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd59eb;
$custom-light: #e08ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd59eb",
  "rgb": {
    "r": 205,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 287.671,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66782,
    "c": 0.22754,
    "h": 318.8
  },
  "luminance": 0.26122
}

Semantic roles & 50–950 ramp

primary
#CD59EB
secondary
#C1EAB6
accent
#DB0B35
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD59EB

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

Preview Lab → · Contrast checker → · Palette generator →

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