#CA55ED#CA55ED

#CA55ED is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.233 H 317.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CA55ED
RGBrgb(202, 85, 237)
HSLhsl(286, 81%, 63%)
HSVhsv(286, 64%, 93%)
CMYKcmyk(14.8%, 64.1%, 0%, 7.1%)
CIE-LABlab(57.24, 67.82, -56.20)
CIE-LCHlch(57.24, 88.08, 320.35°)
OKLaboklab(66.07% 0.1723 -0.1575)
OKLCHoklch(66.07% 0.233 317.6)
XYZxyz(42.8895, 25.1697, 82.7034)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA55ED #78ED55
analogous
#7E55ED #CA55ED #ED55C4
triadic
#CA55ED #EDCA55 #55EDCA
tetradic
#CA55ED #ED7E55 #78ED55 #55C4ED
square
#CA55ED #ED7E55 #78ED55 #55C4ED
split-complementary
#CA55ED #C4ED55 #55ED7E
monochromatic
#8F13B4 #B91EE7 #CA55ED #DB8CF3 #EDC4F9

Accessibility & contrast

On white

3.48
#CA55ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CA55ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA55ED
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA55ED#FFFFFF#000000##000000
##CA55ED1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D82F2
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#C9709A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca55ed;
/* rgb */ color: rgb(202, 85, 237);
/* oklch */ color: oklch(66.1% 0.233 317.6);
Tailwind
colors: {
  custom: {
    50: '#de8cf3',
    500: '#ca55ed',
    950: '#000000',
  },
}
SCSS
$custom: #ca55ed;
$custom-light: #de8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca55ed",
  "rgb": {
    "r": 202,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 286.184,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66074,
    "c": 0.23339,
    "h": 317.6
  },
  "luminance": 0.25168
}

Semantic roles & 50–950 ramp

primary
#CA55ED
secondary
#C0EAB4
accent
#DD0839
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA55ED

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

Preview Lab → · Contrast checker → · Palette generator →

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