#CA51CF#CA51CF

#CA51CF is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.9% C 0.212 H 326.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CA51CF
RGBrgb(202, 81, 207)
HSLhsl(298, 57%, 56%)
HSVhsv(298, 61%, 81%)
CMYKcmyk(2.4%, 60.9%, 0%, 18.8%)
CIE-LABlab(55.02, 64.03, -42.80)
CIE-LCHlch(55.02, 77.02, 326.24°)
OKLaboklab(63.95% 0.1763 -0.1184)
OKLCHoklch(63.95% 0.212 326.1)
XYZxyz(38.5613, 22.9488, 61.4179)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51CF #56CF51
analogous
#8B51CF #CA51CF #CF5195
triadic
#CA51CF #CFCA51 #51CFCA
tetradic
#CA51CF #CF8B51 #56CF51 #5195CF
square
#CA51CF #CF8B51 #56CF51 #5195CF
split-complementary
#CA51CF #95CF51 #51CF8B
monochromatic
#7E2482 #AD31B2 #CA51CF #D981DC #E7B1E9

Accessibility & contrast

On white

3.76
#CA51CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CA51CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51CF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51CF#FFFFFF#000000##000000
##CA51CF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD3
Deuteranopia (green-blind)
#6A89CC
Tritanopia (blue-blind)
#CF6289
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ca51cf;
/* rgb */ color: rgb(202, 81, 207);
/* oklch */ color: oklch(63.9% 0.212 326.1);
Tailwind
colors: {
  custom: {
    50: '#dd89de',
    500: '#ca51cf',
    950: '#000000',
  },
}
SCSS
$custom: #ca51cf;
$custom-light: #dd89de;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51cf",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 297.619,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63947,
    "c": 0.21234,
    "h": 326.1
  },
  "luminance": 0.22946
}

Semantic roles & 50–950 ramp

primary
#CA51CF
secondary
#A6D8A4
accent
#E0484E
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #CA51CF

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

Preview Lab → · Contrast checker → · Palette generator →

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