#CA51E1#CA51E1

#CA51E1 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.228 H 320.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CA51E1
RGBrgb(202, 81, 225)
HSLhsl(290, 71%, 60%)
HSVhsv(290, 64%, 88%)
CMYKcmyk(10.2%, 64%, 0%, 11.8%)
CIE-LABlab(55.97, 67.25, -51.50)
CIE-LCHlch(55.97, 84.70, 322.55°)
OKLaboklab(64.94% 0.1768 -0.1437)
OKLCHoklch(64.94% 0.228 320.9)
XYZxyz(40.8886, 23.8797, 73.6750)
Luminance0.2388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51E1 #68E151
analogous
#8251E1 #CA51E1 #E151B0
triadic
#CA51E1 #E1CA51 #51E1CA
tetradic
#CA51E1 #E18251 #68E151 #51B0E1
square
#CA51E1 #E18251 #68E151 #51B0E1
split-complementary
#CA51E1 #B0E151 #51E182
monochromatic
#881B9D #B524D1 #CA51E1 #DA85EA #EAB9F3

Accessibility & contrast

On white

3.64
#CA51E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CA51E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51E1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51E1#FFFFFF#000000##000000
##CA51E11.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#297EE5
Deuteranopia (green-blind)
#608BDD
Tritanopia (blue-blind)
#CC6992
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca51e1;
/* rgb */ color: rgb(202, 81, 225);
/* oklch */ color: oklch(64.9% 0.228 320.9);
Tailwind
colors: {
  custom: {
    50: '#de8aeb',
    500: '#ca51e1',
    950: '#000000',
  },
}
SCSS
$custom: #ca51e1;
$custom-light: #de8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51e1",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 290.417,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.6494,
    "c": 0.22786,
    "h": 320.9
  },
  "luminance": 0.23878
}

Semantic roles & 50–950 ramp

primary
#CA51E1
secondary
#B4E3AB
accent
#ED3A57
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA51E1

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

Preview Lab → · Contrast checker → · Palette generator →

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