#CA51C2#CA51C2

#CA51C2 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.202 H 330.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CA51C2
RGBrgb(202, 81, 194)
HSLhsl(304, 53%, 55%)
HSVhsv(304, 60%, 79%)
CMYKcmyk(0%, 59.9%, 4%, 20.8%)
CIE-LABlab(54.38, 61.82, -36.36)
CIE-LCHlch(54.38, 71.72, 329.54°)
OKLaboklab(63.28% 0.1751 -0.0998)
OKLCHoklch(63.28% 0.202 330.3)
XYZxyz(37.0369, 22.3390, 53.3896)
Luminance0.2234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51C2 #51CA59
analogous
#9551CA #CA51C2 #CA5185
triadic
#CA51C2 #C2CA51 #51C2CA
tetradic
#CA51C2 #CA9551 #51CA59 #5185CA
square
#CA51C2 #CA9551 #51CA59 #5185CA
split-complementary
#CA51C2 #85CA51 #51CA95
monochromatic
#7B2575 #AA34A2 #CA51C2 #D880D2 #E7AFE3

Accessibility & contrast

On white

3.84
#CA51C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CA51C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51C2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51C2#FFFFFF#000000##000000
##CA51C21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4977C5
Deuteranopia (green-blind)
#7188BF
Tritanopia (blue-blind)
#D15D82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca51c2;
/* rgb */ color: rgb(202, 81, 194);
/* oklch */ color: oklch(63.3% 0.202 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd89d5',
    500: '#ca51c2',
    950: '#000000',
  },
}
SCSS
$custom: #ca51c2;
$custom-light: #dd89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51c2",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 303.967,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.20158,
    "h": 330.3
  },
  "luminance": 0.22336
}

Semantic roles & 50–950 ramp

primary
#CA51C2
secondary
#A2D5A6
accent
#DD554B
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #CA51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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