#CA51FD#CA51FD

#CA51FD is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.6% C 0.253 H 314.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CA51FD
RGBrgb(202, 81, 253)
HSLhsl(282, 98%, 65%)
HSVhsv(282, 68%, 99%)
CMYKcmyk(20.2%, 68%, 0%, 0.8%)
CIE-LABlab(57.59, 72.56, -64.54)
CIE-LCHlch(57.59, 97.11, 318.35°)
OKLaboklab(66.63% 0.1757 -0.1818)
OKLCHoklch(66.63% 0.253 314)
XYZxyz(45.0262, 25.5347, 95.4663)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51FD #84FD51
analogous
#7451FD #CA51FD #FD51DA
triadic
#CA51FD #FDCA51 #51FDCA
tetradic
#CA51FD #FD7451 #84FD51 #51DAFD
square
#CA51FD #FD7451 #84FD51 #51DAFD
split-complementary
#CA51FD #DAFD51 #51FD74
monochromatic
#9402D1 #B814FC #CA51FD #DC8EFE #EFCAFE

Accessibility & contrast

On white

3.44
#CA51FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CA51FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51FD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51FD#FFFFFF#000000##000000
##CA51FD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#478DF9
Tritanopia (blue-blind)
#C574A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca51fd;
/* rgb */ color: rgb(202, 81, 253);
/* oklch */ color: oklch(66.6% 0.253 314.0);
Tailwind
colors: {
  custom: {
    50: '#de8bff',
    500: '#ca51fd',
    950: '#000000',
  },
}
SCSS
$custom: #ca51fd;
$custom-light: #de8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51fd",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 253
  },
  "hsl": {
    "h": 282.209,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66629,
    "c": 0.25284,
    "h": 314
  },
  "luminance": 0.25533
}

Semantic roles & 50–950 ramp

primary
#CA51FD
secondary
#C9F2B8
accent
#E60044
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #CA51FD

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

Preview Lab → · Contrast checker → · Palette generator →

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