#CA50D1#CA50D1

#CA50D1 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.9% C 0.215 H 325.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CA50D1
RGBrgb(202, 80, 209)
HSLhsl(297, 58%, 57%)
HSVhsv(297, 62%, 82%)
CMYKcmyk(3.3%, 61.7%, 0%, 18%)
CIE-LABlab(54.97, 64.80, -44.02)
CIE-LCHlch(54.97, 78.34, 325.81°)
OKLaboklab(63.94% 0.1776 -0.1219)
OKLCHoklch(63.94% 0.215 325.5)
XYZxyz(38.7336, 22.8997, 62.6891)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50D1 #57D150
analogous
#8A50D1 #CA50D1 #D15098
triadic
#CA50D1 #D1CA50 #50D1CA
tetradic
#CA50D1 #D18A50 #57D150 #5098D1
square
#CA50D1 #D18A50 #57D150 #5098D1
split-complementary
#CA50D1 #98D150 #50D18A
monochromatic
#7F2384 #AD2FB4 #CA50D1 #D980DE #E7B1EA

Accessibility & contrast

On white

3.76
#CA50D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CA50D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50D1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50D1#FFFFFF#000000##000000
##CA50D11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD5
Deuteranopia (green-blind)
#6989CE
Tritanopia (blue-blind)
#CF6289
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca50d1;
/* rgb */ color: rgb(202, 80, 209);
/* oklch */ color: oklch(63.9% 0.215 325.5);
Tailwind
colors: {
  custom: {
    50: '#dd89df',
    500: '#ca50d1',
    950: '#000000',
  },
}
SCSS
$custom: #ca50d1;
$custom-light: #dd89df;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50d1",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 209
  },
  "hsl": {
    "h": 296.744,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63943,
    "c": 0.21539,
    "h": 325.5
  },
  "luminance": 0.22897
}

Semantic roles & 50–950 ramp

primary
#CA50D1
secondary
#A7D9A4
accent
#E2464F
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CA50D1

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

Preview Lab → · Contrast checker → · Palette generator →

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