#CD59F2#CD59F2

#CD59F2 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.2% C 0.234 H 317.1°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CD59F2
RGBrgb(205, 89, 242)
HSLhsl(285, 85%, 65%)
HSVhsv(285, 63%, 95%)
CMYKcmyk(15.3%, 63.2%, 0%, 5.1%)
CIE-LABlab(58.54, 67.74, -56.89)
CIE-LCHlch(58.54, 88.46, 319.98°)
OKLaboklab(67.19% 0.1712 -0.1594)
OKLCHoklch(67.19% 0.234 317.1)
XYZxyz(44.7739, 26.5365, 86.7507)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD59F2 #7EF259
analogous
#8059F2 #CD59F2 #F259CB
triadic
#CD59F2 #F2CD59 #59F2CD
tetradic
#CD59F2 #F28059 #7EF259 #59CBF2
square
#CD59F2 #F28059 #7EF259 #59CBF2
split-complementary
#CD59F2 #CBF259 #59F280
monochromatic
#960FC1 #BC20EE #CD59F2 #DE92F6 #EFCBFB

Accessibility & contrast

On white

3.33
#CD59F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CD59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD59F2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD59F2#FFFFFF#000000##000000
##CD59F21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2286F7
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#CB749E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd59f2;
/* rgb */ color: rgb(205, 89, 242);
/* oklch */ color: oklch(67.2% 0.234 317.1);
Tailwind
colors: {
  custom: {
    50: '#e08ff7',
    500: '#cd59f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd59f2;
$custom-light: #e08ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd59f2",
  "rgb": {
    "r": 205,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 285.49,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67188,
    "c": 0.23395,
    "h": 317.1
  },
  "luminance": 0.26535
}

Semantic roles & 50–950 ramp

primary
#CD59F2
secondary
#C6EDB9
accent
#E20439
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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