#CA51E6#CA51E6

#CA51E6 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.2% C 0.232 H 319.6°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#CA51E6
RGBrgb(202, 81, 230)
HSLhsl(289, 75%, 61%)
HSVhsv(289, 65%, 90%)
CMYKcmyk(12.2%, 64.8%, 0%, 9.8%)
CIE-LABlab(56.24, 68.17, -53.87)
CIE-LCHlch(56.24, 86.89, 321.68°)
OKLaboklab(65.23% 0.1768 -0.1506)
OKLCHoklch(65.23% 0.232 319.6)
XYZxyz(41.5807, 24.1565, 77.3200)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51E6 #6DE651
analogous
#7F51E6 #CA51E6 #E651B7
triadic
#CA51E6 #E6CA51 #51E6CA
tetradic
#CA51E6 #E67F51 #6DE651 #51B7E6
square
#CA51E6 #E67F51 #6DE651 #51B7E6
split-complementary
#CA51E6 #B7E651 #51E67F
monochromatic
#8A18A5 #B71FDA #CA51E6 #DA87EE #EBBCF5

Accessibility & contrast

On white

3.60
#CA51E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#CA51E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51E6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51E6#FFFFFF#000000##000000
##CA51E61.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#207FEA
Deuteranopia (green-blind)
#5C8BE2
Tritanopia (blue-blind)
#CA6B95
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca51e6;
/* rgb */ color: rgb(202, 81, 230);
/* oklch */ color: oklch(65.2% 0.232 319.6);
Tailwind
colors: {
  custom: {
    50: '#de8aee',
    500: '#ca51e6',
    950: '#000000',
  },
}
SCSS
$custom: #ca51e6;
$custom-light: #de8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51e6",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 288.725,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65229,
    "c": 0.23227,
    "h": 319.6
  },
  "luminance": 0.24155
}

Semantic roles & 50–950 ramp

primary
#CA51E6
secondary
#B8E5AD
accent
#D70E34
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA51E6

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

Preview Lab → · Contrast checker → · Palette generator →

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