#CA55E7#CA55E7

#CA55E7 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.7% C 0.228 H 319.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CA55E7
RGBrgb(202, 85, 231)
HSLhsl(288, 75%, 62%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(12.6%, 63.2%, 0%, 9.4%)
CIE-LABlab(56.90, 66.68, -53.38)
CIE-LCHlch(56.90, 85.41, 321.32°)
OKLaboklab(65.72% 0.1723 -0.1492)
OKLCHoklch(65.72% 0.228 319.1)
XYZxyz(42.0275, 24.8250, 78.1637)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA55E7 #72E755
analogous
#8155E7 #CA55E7 #E755BB
triadic
#CA55E7 #E7CA55 #55E7CA
tetradic
#CA55E7 #E78155 #72E755 #55BBE7
square
#CA55E7 #E78155 #72E755 #55BBE7
split-complementary
#CA55E7 #BBE755 #55E781
monochromatic
#8D18AA #B920DF #CA55E7 #DB8BEF #EBC0F6

Accessibility & contrast

On white

3.52
#CA55E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CA55E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA55E7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA55E7#FFFFFF#000000##000000
##CA55E71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EB
Deuteranopia (green-blind)
#5E8DE3
Tritanopia (blue-blind)
#CA6E97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca55e7;
/* rgb */ color: rgb(202, 85, 231);
/* oklch */ color: oklch(65.7% 0.228 319.1);
Tailwind
colors: {
  custom: {
    50: '#de8cef',
    500: '#ca55e7',
    950: '#000000',
  },
}
SCSS
$custom: #ca55e7;
$custom-light: #de8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca55e7",
  "rgb": {
    "r": 202,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 288.082,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65723,
    "c": 0.22796,
    "h": 319.1
  },
  "luminance": 0.24823
}

Semantic roles & 50–950 ramp

primary
#CA55E7
secondary
#BCE7B1
accent
#D70E36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CA55E7

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

Preview Lab → · Contrast checker → · Palette generator →

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