#CA50C7#CA50C7

#CA50C7 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.4% C 0.207 H 328.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CA50C7
RGBrgb(202, 80, 199)
HSLhsl(301, 54%, 55%)
HSVhsv(301, 60%, 79%)
CMYKcmyk(0%, 60.4%, 1.5%, 20.8%)
CIE-LABlab(54.47, 63.08, -39.10)
CIE-LCHlch(54.47, 74.21, 328.21°)
OKLaboklab(63.42% 0.1769 -0.1077)
OKLCHoklch(63.42% 0.207 328.7)
XYZxyz(37.5342, 22.4199, 56.3723)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA50C7 #50CA53
analogous
#9050CA #CA50C7 #CA508A
triadic
#CA50C7 #C7CA50 #50C7CA
tetradic
#CA50C7 #CA9050 #50CA53 #508ACA
square
#CA50C7 #CA9050 #50CA53 #508ACA
split-complementary
#CA50C7 #8ACA50 #50CA90
monochromatic
#7A2578 #A933A7 #CA50C7 #D87FD6 #E6AEE5

Accessibility & contrast

On white

3.83
#CA50C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CA50C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA50C7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA50C7#FFFFFF#000000##000000
##CA50C71.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#6E88C4
Tritanopia (blue-blind)
#D05E84
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca50c7;
/* rgb */ color: rgb(202, 80, 199);
/* oklch */ color: oklch(63.4% 0.207 328.7);
Tailwind
colors: {
  custom: {
    50: '#dd89d8',
    500: '#ca50c7',
    950: '#000000',
  },
}
SCSS
$custom: #ca50c7;
$custom-light: #dd89d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca50c7",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 301.475,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63418,
    "c": 0.20706,
    "h": 328.7
  },
  "luminance": 0.22417
}

Semantic roles & 50–950 ramp

primary
#CA50C7
secondary
#A1D4A3
accent
#DD4E4B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA50C7

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

Preview Lab → · Contrast checker → · Palette generator →

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