#CD50E1#CD50E1

#CD50E1 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.231 H 321.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CD50E1
RGBrgb(205, 80, 225)
HSLhsl(292, 71%, 60%)
HSVhsv(292, 64%, 88%)
CMYKcmyk(8.9%, 64.4%, 0%, 11.8%)
CIE-LABlab(56.24, 68.34, -51.04)
CIE-LCHlch(56.24, 85.30, 323.25°)
OKLaboklab(65.22% 0.1814 -0.1423)
OKLCHoklch(65.22% 0.231 321.9)
XYZxyz(41.6347, 24.1549, 73.6889)
Luminance0.2415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50E1 #64E150
analogous
#8450E1 #CD50E1 #E150AD
triadic
#CD50E1 #E1CD50 #50E1CD
tetradic
#CD50E1 #E18450 #64E150 #50ADE1
square
#CD50E1 #E18450 #64E150 #50ADE1
split-complementary
#CD50E1 #ADE150 #50E184
monochromatic
#8A1B9C #B824D0 #CD50E1 #DC84EA #EBB8F3

Accessibility & contrast

On white

3.60
#CD50E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CD50E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50E1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50E1#FFFFFF#000000##000000
##CD50E11.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7EE5
Deuteranopia (green-blind)
#628CDD
Tritanopia (blue-blind)
#CF6892
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd50e1;
/* rgb */ color: rgb(205, 80, 225);
/* oklch */ color: oklch(65.2% 0.231 321.9);
Tailwind
colors: {
  custom: {
    50: '#e08aeb',
    500: '#cd50e1',
    950: '#000000',
  },
}
SCSS
$custom: #cd50e1;
$custom-light: #e08aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50e1",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 291.724,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65224,
    "c": 0.2305,
    "h": 321.9
  },
  "luminance": 0.24153
}

Semantic roles & 50–950 ramp

primary
#CD50E1
secondary
#B2E2AA
accent
#ED3A53
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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