#CD59EF#CD59EF

#CD59EF is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 67.0% C 0.231 H 317.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CD59EF
RGBrgb(205, 89, 239)
HSLhsl(286, 82%, 64%)
HSVhsv(286, 63%, 94%)
CMYKcmyk(14.2%, 62.8%, 0%, 6.3%)
CIE-LABlab(58.38, 67.16, -55.49)
CIE-LCHlch(58.38, 87.12, 320.44°)
OKLaboklab(67.01% 0.1713 -0.1553)
OKLCHoklch(67.01% 0.231 317.8)
XYZxyz(44.3270, 26.3577, 84.3972)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD59EF #7BEF59
analogous
#8259EF #CD59EF #EF59C6
triadic
#CD59EF #EFCD59 #59EFCD
tetradic
#CD59EF #EF8259 #7BEF59 #59C6EF
square
#CD59EF #EF8259 #7BEF59 #59C6EF
split-complementary
#CD59EF #C6EF59 #59EF82
monochromatic
#9512BC #BC21EA #CD59EF #DE91F4 #EFC9FA

Accessibility & contrast

On white

3.35
#CD59EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CD59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD59EF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD59EF#FFFFFF#000000##000000
##CD59EF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F4
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#CC739C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd59ef;
/* rgb */ color: rgb(205, 89, 239);
/* oklch */ color: oklch(67.0% 0.231 317.8);
Tailwind
colors: {
  custom: {
    50: '#e08ff5',
    500: '#cd59ef',
    950: '#000000',
  },
}
SCSS
$custom: #cd59ef;
$custom-light: #e08ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd59ef",
  "rgb": {
    "r": 205,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 286.4,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67012,
    "c": 0.2312,
    "h": 317.8
  },
  "luminance": 0.26356
}

Semantic roles & 50–950 ramp

primary
#CD59EF
secondary
#C4ECB8
accent
#DF0738
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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