#CA50C8#CA50C8

#CA50C8 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.5% C 0.208 H 328.3°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#CA50C8
RGBrgb(202, 80, 200)
HSLhsl(301, 54%, 55%)
HSVhsv(301, 60%, 79%)
CMYKcmyk(0%, 60.4%, 1%, 20.8%)
CIE-LABlab(54.52, 63.25, -39.59)
CIE-LCHlch(54.52, 74.62, 327.96°)
OKLaboklab(63.47% 0.1769 -0.1091)
OKLCHoklch(63.47% 0.208 328.3)
XYZxyz(37.6506, 22.4665, 56.9858)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50C8 #50CA52
analogous
#8F50CA #CA50C8 #CA508B
triadic
#CA50C8 #C8CA50 #50C8CA
tetradic
#CA50C8 #CA8F50 #50CA52 #508BCA
square
#CA50C8 #CA8F50 #50CA52 #508BCA
split-complementary
#CA50C8 #8BCA50 #50CA8F
monochromatic
#7A2579 #A933A8 #CA50C8 #D87FD7 #E6AEE6

Accessibility & contrast

On white

3.82
#CA50C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#CA50C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50C8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50C8#FFFFFF#000000##000000
##CA50C81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CC
Deuteranopia (green-blind)
#6D88C5
Tritanopia (blue-blind)
#D05F85
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca50c8;
/* rgb */ color: rgb(202, 80, 200);
/* oklch */ color: oklch(63.5% 0.208 328.3);
Tailwind
colors: {
  custom: {
    50: '#dd89d9',
    500: '#ca50c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca50c8;
$custom-light: #dd89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50c8",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 300.984,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6347,
    "c": 0.20788,
    "h": 328.3
  },
  "luminance": 0.22464
}

Semantic roles & 50–950 ramp

primary
#CA50C8
secondary
#A1D4A2
accent
#DD4D4B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA50C8

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

Preview Lab → · Contrast checker → · Palette generator →

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