#CA50E8#CA50E8

#CA50E8 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.235 H 319.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#CA50E8
RGBrgb(202, 80, 232)
HSLhsl(288, 77%, 61%)
HSVhsv(288, 66%, 91%)
CMYKcmyk(12.9%, 65.5%, 0%, 9%)
CIE-LABlab(56.21, 68.95, -55.05)
CIE-LCHlch(56.21, 88.23, 321.40°)
OKLaboklab(65.24% 0.1779 -0.154)
OKLCHoklch(65.24% 0.235 319.1)
XYZxyz(41.7894, 24.1220, 78.7831)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50E8 #6EE850
analogous
#7E50E8 #CA50E8 #E850BA
triadic
#CA50E8 #E8CA50 #50E8CA
tetradic
#CA50E8 #E87E50 #6EE850 #50BAE8
square
#CA50E8 #E87E50 #6EE850 #50BAE8
split-complementary
#CA50E8 #BAE850 #50E87E
monochromatic
#8B16A8 #B81DDE #CA50E8 #DA86EF #EBBCF6

Accessibility & contrast

On white

3.61
#CA50E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#CA50E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50E8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50E8#FFFFFF#000000##000000
##CA50E81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#187FEC
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#CA6B96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca50e8;
/* rgb */ color: rgb(202, 80, 232);
/* oklch */ color: oklch(65.2% 0.235 319.1);
Tailwind
colors: {
  custom: {
    50: '#de8af0',
    500: '#ca50e8',
    950: '#000000',
  },
}
SCSS
$custom: #ca50e8;
$custom-light: #de8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50e8",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 288.158,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6524,
    "c": 0.23529,
    "h": 319.1
  },
  "luminance": 0.2412
}

Semantic roles & 50–950 ramp

primary
#CA50E8
secondary
#B9E6AD
accent
#D90D35
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CA50E8

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

Preview Lab → · Contrast checker → · Palette generator →

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