#CA51CA#CA51CA

#CA51CA is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.7% C 0.208 H 327.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#CA51CA
RGBrgb(202, 81, 202)
HSLhsl(300, 53%, 55%)
HSVhsv(300, 60%, 79%)
CMYKcmyk(0%, 59.9%, 0%, 20.8%)
CIE-LABlab(54.77, 63.17, -40.34)
CIE-LCHlch(54.77, 74.95, 327.44°)
OKLaboklab(63.69% 0.1759 -0.1113)
OKLCHoklch(63.69% 0.208 327.7)
XYZxyz(37.9597, 22.7081, 58.2494)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51CA #51CA51
analogous
#8D51CA #CA51CA #CA518D
triadic
#CA51CA #CACA51 #51CACA
tetradic
#CA51CA #CA8D51 #51CA51 #518DCA
square
#CA51CA #CA8D51 #51CA51 #518DCA
split-complementary
#CA51CA #8DCA51 #51CA8D
monochromatic
#7B257B #AA34AA #CA51CA #D880D8 #E7AFE7

Accessibility & contrast

On white

3.79
#CA51CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CA51CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51CA#FFFFFF#000000##000000
##CA51CA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#6D89C7
Tritanopia (blue-blind)
#D06086
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ca51ca;
/* rgb */ color: rgb(202, 81, 202);
/* oklch */ color: oklch(63.7% 0.208 327.7);
Tailwind
colors: {
  custom: {
    50: '#dd89da',
    500: '#ca51ca',
    950: '#000000',
  },
}
SCSS
$custom: #ca51ca;
$custom-light: #dd89da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51ca",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 300,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63685,
    "c": 0.20815,
    "h": 327.7
  },
  "luminance": 0.22706
}

Semantic roles & 50–950 ramp

primary
#CA51CA
secondary
#A2D5A2
accent
#DD4B4B
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA51CA

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

Preview Lab → · Contrast checker → · Palette generator →

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