#CA52FF#CA52FF

#CA52FF is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.9% C 0.253 H 313.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CA52FF
RGBrgb(202, 82, 255)
HSLhsl(282, 100%, 66%)
HSVhsv(282, 68%, 100%)
CMYKcmyk(20.8%, 67.8%, 0%, 0%)
CIE-LABlab(57.86, 72.55, -65.22)
CIE-LCHlch(57.86, 97.56, 318.05°)
OKLaboklab(66.86% 0.1745 -0.1838)
OKLCHoklch(66.86% 0.253 313.5)
XYZxyz(45.4213, 25.8125, 97.1780)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA52FF #87FF52
analogous
#7352FF #CA52FF #FF52DE
triadic
#CA52FF #FFCA52 #52FFCA
tetradic
#CA52FF #FF7352 #87FF52 #52DEFF
square
#CA52FF #FF7352 #87FF52 #52DEFF
split-complementary
#CA52FF #DEFF52 #52FF73
monochromatic
#9500D7 #B715FF #CA52FF #DD8FFF #EFCCFF

Accessibility & contrast

On white

3.41
#CA52FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CA52FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA52FF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA52FF#FFFFFF#000000##000000
##CA52FF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#468EFB
Tritanopia (blue-blind)
#C576A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca52ff;
/* rgb */ color: rgb(202, 82, 255);
/* oklch */ color: oklch(66.9% 0.253 313.5);
Tailwind
colors: {
  custom: {
    50: '#df8bff',
    500: '#ca52ff',
    950: '#000000',
  },
}
SCSS
$custom: #ca52ff;
$custom-light: #df8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca52ff",
  "rgb": {
    "r": 202,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 281.618,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66858,
    "c": 0.25346,
    "h": 313.5
  },
  "luminance": 0.25811
}

Semantic roles & 50–950 ramp

primary
#CA52FF
secondary
#CBF3BA
accent
#E60046
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA52FF

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

Preview Lab → · Contrast checker → · Palette generator →

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