#CA50E4#CA50E4

#CA50E4 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.232 H 320.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CA50E4
RGBrgb(202, 80, 228)
HSLhsl(289, 73%, 60%)
HSVhsv(289, 65%, 89%)
CMYKcmyk(11.4%, 64.9%, 0%, 10.6%)
CIE-LABlab(55.98, 68.21, -53.16)
CIE-LCHlch(55.98, 86.48, 322.07°)
OKLaboklab(65.01% 0.1779 -0.1485)
OKLCHoklch(65.01% 0.232 320.1)
XYZxyz(41.2277, 23.8973, 75.8248)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50E4 #6AE450
analogous
#8050E4 #CA50E4 #E450B4
triadic
#CA50E4 #E4CA50 #50E4CA
tetradic
#CA50E4 #E48050 #6AE450 #50B4E4
square
#CA50E4 #E48050 #6AE450 #50B4E4
split-complementary
#CA50E4 #B4E450 #50E480
monochromatic
#8919A1 #B621D6 #CA50E4 #DA85EC #EABAF4

Accessibility & contrast

On white

3.63
#CA50E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CA50E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50E4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50E4#FFFFFF#000000##000000
##CA50E41.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE8
Deuteranopia (green-blind)
#5D8AE0
Tritanopia (blue-blind)
#CB6A94
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca50e4;
/* rgb */ color: rgb(202, 80, 228);
/* oklch */ color: oklch(65.0% 0.232 320.1);
Tailwind
colors: {
  custom: {
    50: '#de89ed',
    500: '#ca50e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca50e4;
$custom-light: #de89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50e4",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 289.459,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65006,
    "c": 0.23178,
    "h": 320.1
  },
  "luminance": 0.23895
}

Semantic roles & 50–950 ramp

primary
#CA50E4
secondary
#B6E4AC
accent
#D51033
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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