#CA51CC#CA51CC

#CA51CC is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.8% C 0.210 H 327.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CA51CC
RGBrgb(202, 81, 204)
HSLhsl(299, 55%, 56%)
HSVhsv(299, 60%, 80%)
CMYKcmyk(1%, 60.3%, 0%, 20%)
CIE-LABlab(54.87, 63.51, -41.33)
CIE-LCHlch(54.87, 75.77, 326.95°)
OKLaboklab(63.79% 0.1761 -0.1141)
OKLCHoklch(63.79% 0.21 327)
XYZxyz(38.1980, 22.8035, 59.5046)
Luminance0.2280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51CC #53CC51
analogous
#8C51CC #CA51CC #CC5190
triadic
#CA51CC #CCCA51 #51CCCA
tetradic
#CA51CC #CC8C51 #53CC51 #5190CC
square
#CA51CC #CC8C51 #53CC51 #5190CC
split-complementary
#CA51CC #90CC51 #51CC8C
monochromatic
#7C257E #AB33AD #CA51CC #D880DA #E7B0E8

Accessibility & contrast

On white

3.78
#CA51CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CA51CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51CC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51CC#FFFFFF#000000##000000
##CA51CC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179D0
Deuteranopia (green-blind)
#6C89C9
Tritanopia (blue-blind)
#CF6187
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca51cc;
/* rgb */ color: rgb(202, 81, 204);
/* oklch */ color: oklch(63.8% 0.210 327.0);
Tailwind
colors: {
  custom: {
    50: '#dd89dc',
    500: '#ca51cc',
    950: '#000000',
  },
}
SCSS
$custom: #ca51cc;
$custom-light: #dd89dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51cc",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 299.024,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63789,
    "c": 0.20982,
    "h": 327
  },
  "luminance": 0.22801
}

Semantic roles & 50–950 ramp

primary
#CA51CC
secondary
#A4D6A3
accent
#DE4A4C
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA51CC

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

Preview Lab → · Contrast checker → · Palette generator →

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