#CA51D1#CA51D1

#CA51D1 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.1% C 0.214 H 325.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#CA51D1
RGBrgb(202, 81, 209)
HSLhsl(297, 58%, 57%)
HSVhsv(297, 61%, 82%)
CMYKcmyk(3.3%, 61.2%, 0%, 18%)
CIE-LABlab(55.12, 64.38, -43.78)
CIE-LCHlch(55.12, 77.85, 325.78°)
OKLaboklab(64.05% 0.1764 -0.1212)
OKLCHoklch(64.05% 0.214 325.5)
XYZxyz(38.8073, 23.0472, 62.7137)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51D1 #58D151
analogous
#8A51D1 #CA51D1 #D15198
triadic
#CA51D1 #D1CA51 #51D1CA
tetradic
#CA51D1 #D18A51 #58D151 #5198D1
square
#CA51D1 #D18A51 #58D151 #5198D1
split-complementary
#CA51D1 #98D151 #51D18A
monochromatic
#7F2385 #AE30B5 #CA51D1 #D981DE #E7B2EB

Accessibility & contrast

On white

3.74
#CA51D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#CA51D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51D1
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51D1#FFFFFF#000000##000000
##CA51D11.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7AD5
Deuteranopia (green-blind)
#6989CE
Tritanopia (blue-blind)
#CF638A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca51d1;
/* rgb */ color: rgb(202, 81, 209);
/* oklch */ color: oklch(64.1% 0.214 325.5);
Tailwind
colors: {
  custom: {
    50: '#dd89df',
    500: '#ca51d1',
    950: '#000000',
  },
}
SCSS
$custom: #ca51d1;
$custom-light: #dd89df;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51d1",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 296.719,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64053,
    "c": 0.21404,
    "h": 325.5
  },
  "luminance": 0.23045
}

Semantic roles & 50–950 ramp

primary
#CA51D1
secondary
#A8D9A5
accent
#E1464F
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#150C15
muted
#847D83

Preview Lab

Preview with #CA51D1

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

Preview Lab → · Contrast checker → · Palette generator →

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