#CA50B7#CA50B7

#CA50B7 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.6% C 0.194 H 334.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CA50B7
RGBrgb(202, 80, 183)
HSLhsl(309, 54%, 55%)
HSVhsv(309, 60%, 79%)
CMYKcmyk(0%, 60.4%, 9.4%, 20.8%)
CIE-LABlab(53.72, 60.47, -31.04)
CIE-LCHlch(53.72, 67.97, 332.83°)
OKLaboklab(62.63% 0.175 -0.0846)
OKLCHoklch(62.63% 0.194 334.2)
XYZxyz(35.7732, 21.7155, 47.0979)
Luminance0.2171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50B7 #50CA63
analogous
#A050CA #CA50B7 #CA507A
triadic
#CA50B7 #B7CA50 #50B7CA
tetradic
#CA50B7 #CAA050 #50CA63 #507ACA
square
#CA50B7 #CAA050 #50CA63 #507ACA
split-complementary
#CA50B7 #7ACA50 #50CAA0
monochromatic
#7A256D #A93397 #CA50B7 #D87FCA #E6AEDE

Accessibility & contrast

On white

3.93
#CA50B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CA50B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50B7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50B7#FFFFFF#000000##000000
##CA50B71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#D3587C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca50b7;
/* rgb */ color: rgb(202, 80, 183);
/* oklch */ color: oklch(62.6% 0.194 334.2);
Tailwind
colors: {
  custom: {
    50: '#dd88cd',
    500: '#ca50b7',
    950: '#000000',
  },
}
SCSS
$custom: #ca50b7;
$custom-light: #dd88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50b7",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 309.344,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.19435,
    "h": 334.2
  },
  "luminance": 0.21713
}

Semantic roles & 50–950 ramp

primary
#CA50B7
secondary
#A1D4A9
accent
#DD624B
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA50B7

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

Preview Lab → · Contrast checker → · Palette generator →

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