#CA50D7#CA50D7

#CA50D7 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.3% C 0.221 H 323.7°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CA50D7
RGBrgb(202, 80, 215)
HSLhsl(294, 63%, 58%)
HSVhsv(294, 63%, 84%)
CMYKcmyk(6%, 62.8%, 0%, 15.7%)
CIE-LABlab(55.28, 65.85, -46.94)
CIE-LCHlch(55.28, 80.87, 324.52°)
OKLaboklab(64.27% 0.1778 -0.1304)
OKLCHoklch(64.27% 0.221 323.7)
XYZxyz(39.4904, 23.2024, 66.6753)
Luminance0.2320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50D7 #5DD750
analogous
#8650D7 #CA50D7 #D750A1
triadic
#CA50D7 #D7CA50 #50D7CA
tetradic
#CA50D7 #D78650 #5DD750 #50A1D7
square
#CA50D7 #D78650 #5DD750 #50A1D7
split-complementary
#CA50D7 #A1D750 #50D786
monochromatic
#82208C #B02BBE #CA50D7 #D982E2 #E8B4EE

Accessibility & contrast

On white

3.72
#CA50D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CA50D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50D7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50D7#FFFFFF#000000##000000
##CA50D71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDB
Deuteranopia (green-blind)
#6589D3
Tritanopia (blue-blind)
#CE648D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca50d7;
/* rgb */ color: rgb(202, 80, 215);
/* oklch */ color: oklch(64.3% 0.221 323.7);
Tailwind
colors: {
  custom: {
    50: '#dd89e4',
    500: '#ca50d7',
    950: '#000000',
  },
}
SCSS
$custom: #ca50d7;
$custom-light: #dd89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50d7",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 294.222,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6427,
    "c": 0.2205,
    "h": 323.7
  },
  "luminance": 0.232
}

Semantic roles & 50–950 ramp

primary
#CA50D7
secondary
#ACDCA6
accent
#E64252
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#150C15
muted
#847D84

Preview Lab

Preview with #CA50D7

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

Preview Lab → · Contrast checker → · Palette generator →

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