#CA51E7#CA51E7

#CA51E7 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.233 H 319.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CA51E7
RGBrgb(202, 81, 231)
HSLhsl(288, 76%, 61%)
HSVhsv(288, 65%, 91%)
CMYKcmyk(12.6%, 64.9%, 0%, 9.4%)
CIE-LABlab(56.30, 68.36, -54.35)
CIE-LCHlch(56.30, 87.33, 321.51°)
OKLaboklab(65.29% 0.1768 -0.152)
OKLCHoklch(65.29% 0.233 319.3)
XYZxyz(41.7215, 24.2129, 78.0617)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51E7 #6EE751
analogous
#7F51E7 #CA51E7 #E751B9
triadic
#CA51E7 #E7CA51 #51E7CA
tetradic
#CA51E7 #E77F51 #6EE751 #51B9E7
square
#CA51E7 #E77F51 #6EE751 #51B9E7
split-complementary
#CA51E7 #B9E751 #51E77F
monochromatic
#8B17A7 #B81EDC #CA51E7 #DA87EE #EBBDF6

Accessibility & contrast

On white

3.59
#CA51E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CA51E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51E7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51E7#FFFFFF#000000##000000
##CA51E71.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7FEB
Deuteranopia (green-blind)
#5B8BE3
Tritanopia (blue-blind)
#CA6B95
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca51e7;
/* rgb */ color: rgb(202, 81, 231);
/* oklch */ color: oklch(65.3% 0.233 319.3);
Tailwind
colors: {
  custom: {
    50: '#de8aef',
    500: '#ca51e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca51e7;
$custom-light: #de8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51e7",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 288.4,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65287,
    "c": 0.23315,
    "h": 319.3
  },
  "luminance": 0.24211
}

Semantic roles & 50–950 ramp

primary
#CA51E7
secondary
#B9E6AE
accent
#D80E35
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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