#CA51C8#CA51C8

#CA51C8 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.206 H 328.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CA51C8
RGBrgb(202, 81, 200)
HSLhsl(301, 53%, 55%)
HSVhsv(301, 60%, 79%)
CMYKcmyk(0%, 59.9%, 1%, 20.8%)
CIE-LABlab(54.67, 62.83, -39.35)
CIE-LCHlch(54.67, 74.13, 327.94°)
OKLaboklab(63.58% 0.1757 -0.1084)
OKLCHoklch(63.58% 0.206 328.3)
XYZxyz(37.7244, 22.6140, 57.0103)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51C8 #51CA53
analogous
#9051CA #CA51C8 #CA518B
triadic
#CA51C8 #C8CA51 #51C8CA
tetradic
#CA51C8 #CA9051 #51CA53 #518BCA
square
#CA51C8 #CA9051 #51CA53 #518BCA
split-complementary
#CA51C8 #8BCA51 #51CA90
monochromatic
#7B257A #AA34A8 #CA51C8 #D880D7 #E7AFE6

Accessibility & contrast

On white

3.80
#CA51C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CA51C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51C8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51C8#FFFFFF#000000##000000
##CA51C81.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4479CC
Deuteranopia (green-blind)
#6E88C5
Tritanopia (blue-blind)
#D05F85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca51c8;
/* rgb */ color: rgb(202, 81, 200);
/* oklch */ color: oklch(63.6% 0.206 328.3);
Tailwind
colors: {
  custom: {
    50: '#dd89d9',
    500: '#ca51c8',
    950: '#000000',
  },
}
SCSS
$custom: #ca51c8;
$custom-light: #dd89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51c8",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 300.992,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63582,
    "c": 0.20649,
    "h": 328.3
  },
  "luminance": 0.22612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA51C8

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

Preview Lab → · Contrast checker → · Palette generator →

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