#CA50D9#CA50D9

#CA50D9 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.4% C 0.222 H 323.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CA50D9
RGBrgb(202, 80, 217)
HSLhsl(293, 64%, 58%)
HSVhsv(293, 63%, 85%)
CMYKcmyk(6.9%, 63.1%, 0%, 14.9%)
CIE-LABlab(55.39, 66.21, -47.91)
CIE-LCHlch(55.39, 81.72, 324.11°)
OKLaboklab(64.38% 0.1779 -0.1332)
OKLCHoklch(64.38% 0.222 323.2)
XYZxyz(39.7490, 23.3058, 68.0370)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50D9 #5FD950
analogous
#8550D9 #CA50D9 #D950A3
triadic
#CA50D9 #D9CA50 #50D9CA
tetradic
#CA50D9 #D98550 #5FD950 #50A3D9
square
#CA50D9 #D98550 #5FD950 #50A3D9
split-complementary
#CA50D9 #A3D950 #50D985
monochromatic
#831F8F #B12AC2 #CA50D9 #D982E4 #E8B5EF

Accessibility & contrast

On white

3.71
#CA50D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CA50D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50D9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50D9#FFFFFF#000000##000000
##CA50D91.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDD
Deuteranopia (green-blind)
#648AD5
Tritanopia (blue-blind)
#CD658E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ca50d9;
/* rgb */ color: rgb(202, 80, 217);
/* oklch */ color: oklch(64.4% 0.222 323.2);
Tailwind
colors: {
  custom: {
    50: '#dd89e5',
    500: '#ca50d9',
    950: '#000000',
  },
}
SCSS
$custom: #ca50d9;
$custom-light: #dd89e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50d9",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 293.431,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6438,
    "c": 0.22222,
    "h": 323.2
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#CA50D9
secondary
#ADDEA7
accent
#E74053
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA50D9

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

Preview Lab → · Contrast checker → · Palette generator →

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