#CA5ED4#CA5ED4

#CA5ED4 is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.8% C 0.198 H 324.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CA5ED4
RGBrgb(202, 94, 212)
HSLhsl(295, 58%, 60%)
HSVhsv(295, 56%, 83%)
CMYKcmyk(4.7%, 55.7%, 0%, 16.9%)
CIE-LABlab(57.38, 59.14, -41.91)
CIE-LCHlch(57.38, 72.49, 324.67°)
OKLaboklab(65.75% 0.1606 -0.1159)
OKLCHoklch(65.75% 0.198 324.2)
XYZxyz(40.2424, 25.3176, 65.0417)
Luminance0.2531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5ED4 #68D45E
analogous
#8F5ED4 #CA5ED4 #D45EA3
triadic
#CA5ED4 #D4CA5E #5ED4CA
tetradic
#CA5ED4 #D48F5E #68D45E #5EA3D4
square
#CA5ED4 #D48F5E #68D45E #5EA3D4
split-complementary
#CA5ED4 #A3D45E #5ED48F
monochromatic
#882791 #B534C1 #CA5ED4 #DA8EE1 #EABFEE

Accessibility & contrast

On white

3.46
#CA5ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CA5ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5ED4
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5ED4#FFFFFF#000000##000000
##CA5ED41.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C81D8
Deuteranopia (green-blind)
#708ED1
Tritanopia (blue-blind)
#CE6E90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca5ed4;
/* rgb */ color: rgb(202, 94, 212);
/* oklch */ color: oklch(65.8% 0.198 324.2);
Tailwind
colors: {
  custom: {
    50: '#dd91e1',
    500: '#ca5ed4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ed4;
$custom-light: #dd91e1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ed4",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 294.915,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.65752,
    "c": 0.19808,
    "h": 324.2
  },
  "luminance": 0.25315
}

Semantic roles & 50–950 ramp

primary
#CA5ED4
secondary
#B4DEB0
accent
#E14754
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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