#CD50E9#CD50E9

#CD50E9 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.7% C 0.237 H 319.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CD50E9
RGBrgb(205, 80, 233)
HSLhsl(289, 78%, 61%)
HSVhsv(289, 66%, 91%)
CMYKcmyk(12%, 65.7%, 0%, 8.6%)
CIE-LABlab(56.69, 69.80, -54.83)
CIE-LCHlch(56.69, 88.76, 321.85°)
OKLaboklab(65.69% 0.1813 -0.1533)
OKLCHoklch(65.69% 0.237 319.8)
XYZxyz(42.7516, 24.6017, 79.5717)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50E9 #6CE950
analogous
#8150E9 #CD50E9 #E950B8
triadic
#CD50E9 #E9CD50 #50E9CD
tetradic
#CD50E9 #E98150 #6CE950 #50B8E9
square
#CD50E9 #E98150 #6CE950 #50B8E9
split-complementary
#CD50E9 #B8E950 #50E981
monochromatic
#8E15A9 #BC1CE0 #CD50E9 #DD86F0 #ECBDF7

Accessibility & contrast

On white

3.55
#CD50E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CD50E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50E9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50E9#FFFFFF#000000##000000
##CD50E91.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7FEE
Deuteranopia (green-blind)
#5C8CE5
Tritanopia (blue-blind)
#CE6B96
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd50e9;
/* rgb */ color: rgb(205, 80, 233);
/* oklch */ color: oklch(65.7% 0.237 319.8);
Tailwind
colors: {
  custom: {
    50: '#e08af1',
    500: '#cd50e9',
    950: '#000000',
  },
}
SCSS
$custom: #cd50e9;
$custom-light: #e08af1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50e9",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 233
  },
  "hsl": {
    "h": 289.02,
    "s": 77.665,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65686,
    "c": 0.23742,
    "h": 319.8
  },
  "luminance": 0.246
}

Semantic roles & 50–950 ramp

primary
#CD50E9
secondary
#B8E7AE
accent
#DA0C31
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD50E9

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

Preview Lab → · Contrast checker → · Palette generator →

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