#CA51E4#CA51E4

#CA51E4 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.231 H 320.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CA51E4
RGBrgb(202, 81, 228)
HSLhsl(289, 73%, 61%)
HSVhsv(289, 64%, 89%)
CMYKcmyk(11.4%, 64.5%, 0%, 10.6%)
CIE-LABlab(56.13, 67.80, -52.93)
CIE-LCHlch(56.13, 86.01, 322.02°)
OKLaboklab(65.11% 0.1768 -0.1479)
OKLCHoklch(65.11% 0.231 320.1)
XYZxyz(41.3014, 24.0448, 75.8493)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51E4 #6BE451
analogous
#8051E4 #CA51E4 #E451B4
triadic
#CA51E4 #E4CA51 #51E4CA
tetradic
#CA51E4 #E48051 #6BE451 #51B4E4
square
#CA51E4 #E48051 #6BE451 #51B4E4
split-complementary
#CA51E4 #B4E451 #51E480
monochromatic
#8919A2 #B621D7 #CA51E4 #DA86EC #EABBF4

Accessibility & contrast

On white

3.62
#CA51E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CA51E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51E4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51E4#FFFFFF#000000##000000
##CA51E41.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE8
Deuteranopia (green-blind)
#5E8BE0
Tritanopia (blue-blind)
#CB6A94
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca51e4;
/* rgb */ color: rgb(202, 81, 228);
/* oklch */ color: oklch(65.1% 0.231 320.1);
Tailwind
colors: {
  custom: {
    50: '#de8aed',
    500: '#ca51e4',
    950: '#000000',
  },
}
SCSS
$custom: #ca51e4;
$custom-light: #de8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51e4",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 289.388,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65112,
    "c": 0.2305,
    "h": 320.1
  },
  "luminance": 0.24043
}

Semantic roles & 50–950 ramp

primary
#CA51E4
secondary
#B6E4AC
accent
#D51033
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CA51E4

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

Preview Lab → · Contrast checker → · Palette generator →

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