#CA51FF#CA51FF

#CA51FF is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.8% C 0.255 H 313.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CA51FF
RGBrgb(202, 81, 255)
HSLhsl(282, 100%, 66%)
HSVhsv(282, 68%, 100%)
CMYKcmyk(20.8%, 68.2%, 0%, 0%)
CIE-LABlab(57.72, 72.96, -65.45)
CIE-LCHlch(57.72, 98.01, 318.11°)
OKLaboklab(66.76% 0.1755 -0.1845)
OKLCHoklch(66.76% 0.255 313.6)
XYZxyz(45.3464, 25.6628, 97.1531)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51FF #86FF51
analogous
#7351FF #CA51FF #FF51DD
triadic
#CA51FF #FFCA51 #51FFCA
tetradic
#CA51FF #FF7351 #86FF51 #51DDFF
square
#CA51FF #FF7351 #86FF51 #51DDFF
split-complementary
#CA51FF #DDFF51 #51FF73
monochromatic
#9500D6 #B714FF #CA51FF #DD8EFF #EFCBFF

Accessibility & contrast

On white

3.42
#CA51FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CA51FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51FF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51FF#FFFFFF#000000##000000
##CA51FF1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#458DFB
Tritanopia (blue-blind)
#C575A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca51ff;
/* rgb */ color: rgb(202, 81, 255);
/* oklch */ color: oklch(66.8% 0.255 313.6);
Tailwind
colors: {
  custom: {
    50: '#df8bff',
    500: '#ca51ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca51ff;
$custom-light: #df8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51ff",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 281.724,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66756,
    "c": 0.25465,
    "h": 313.6
  },
  "luminance": 0.25661
}

Semantic roles & 50–950 ramp

primary
#CA51FF
secondary
#CBF3B9
accent
#E60046
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #CA51FF

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

Preview Lab → · Contrast checker → · Palette generator →

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