#CD50E2#CD50E2

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

Color values

HEX#CD50E2
RGBrgb(205, 80, 226)
HSLhsl(291, 72%, 60%)
HSVhsv(291, 65%, 89%)
CMYKcmyk(9.3%, 64.6%, 0%, 11.4%)
CIE-LABlab(56.30, 68.52, -51.51)
CIE-LCHlch(56.30, 85.73, 323.06°)
OKLaboklab(65.28% 0.1814 -0.1436)
OKLCHoklch(65.28% 0.231 321.6)
XYZxyz(41.7715, 24.2096, 74.4094)
Luminance0.2421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD50E2 #65E250
analogous
#8450E2 #CD50E2 #E250AE
triadic
#CD50E2 #E2CD50 #50E2CD
tetradic
#CD50E2 #E28450 #65E250 #50AEE2
square
#CD50E2 #E28450 #65E250 #50AEE2
split-complementary
#CD50E2 #AEE250 #50E284
monochromatic
#8B1A9E #B923D2 #CD50E2 #DC84EB #EBB9F3

Accessibility & contrast

On white

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

On black

5.84
#CD50E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD50E2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD50E2#FFFFFF#000000##000000
##CD50E21.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#287EE6
Deuteranopia (green-blind)
#618CDE
Tritanopia (blue-blind)
#CF6892
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd50e2;
/* rgb */ color: rgb(205, 80, 226);
/* oklch */ color: oklch(65.3% 0.231 321.6);
Tailwind
colors: {
  custom: {
    50: '#e08aec',
    500: '#cd50e2',
    950: '#000000',
  },
}
SCSS
$custom: #cd50e2;
$custom-light: #e08aec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd50e2",
  "rgb": {
    "r": 205,
    "g": 80,
    "b": 226
  },
  "hsl": {
    "h": 291.37,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.65281,
    "c": 0.23136,
    "h": 321.6
  },
  "luminance": 0.24207
}

Semantic roles & 50–950 ramp

primary
#CD50E2
secondary
#B3E3AB
accent
#EE3954
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD50E2

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

Preview Lab → · Contrast checker → · Palette generator →

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