#CA50E1#CA50E1

#CA50E1 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.8% C 0.229 H 320.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#CA50E1
RGBrgb(202, 80, 225)
HSLhsl(290, 71%, 60%)
HSVhsv(290, 64%, 88%)
CMYKcmyk(10.2%, 64.4%, 0%, 11.8%)
CIE-LABlab(55.82, 67.66, -51.74)
CIE-LCHlch(55.82, 85.17, 322.59°)
OKLaboklab(64.83% 0.178 -0.1444)
OKLCHoklch(64.83% 0.229 320.9)
XYZxyz(40.8148, 23.7322, 73.6505)
Luminance0.2373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50E1 #67E150
analogous
#8250E1 #CA50E1 #E150AF
triadic
#CA50E1 #E1CA50 #50E1CA
tetradic
#CA50E1 #E18250 #67E150 #50AFE1
square
#CA50E1 #E18250 #67E150 #50AFE1
split-complementary
#CA50E1 #AFE150 #50E182
monochromatic
#871B9C #B524D0 #CA50E1 #DA84EA #EAB8F3

Accessibility & contrast

On white

3.65
#CA50E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#CA50E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50E1
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50E1#FFFFFF#000000##000000
##CA50E11.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#277DE5
Deuteranopia (green-blind)
#5F8ADD
Tritanopia (blue-blind)
#CC6892
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca50e1;
/* rgb */ color: rgb(202, 80, 225);
/* oklch */ color: oklch(64.8% 0.229 320.9);
Tailwind
colors: {
  custom: {
    50: '#de89eb',
    500: '#ca50e1',
    950: '#000000',
  },
}
SCSS
$custom: #ca50e1;
$custom-light: #de89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50e1",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 225
  },
  "hsl": {
    "h": 290.483,
    "s": 70.732,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64833,
    "c": 0.22915,
    "h": 320.9
  },
  "luminance": 0.2373
}

Semantic roles & 50–950 ramp

primary
#CA50E1
secondary
#B3E2AA
accent
#ED3A57
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA50E1

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

Preview Lab → · Contrast checker → · Palette generator →

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