#CA5EE7#CA5EE7

#CA5EE7 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.8% C 0.216 H 318.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CA5EE7
RGBrgb(202, 94, 231)
HSLhsl(287, 74%, 64%)
HSVhsv(287, 59%, 91%)
CMYKcmyk(12.6%, 59.3%, 0%, 9.4%)
CIE-LABlab(58.35, 62.70, -51.08)
CIE-LCHlch(58.35, 80.87, 320.83°)
OKLaboklab(66.77% 0.1618 -0.1425)
OKLCHoklch(66.77% 0.216 318.6)
XYZxyz(42.7817, 26.3333, 78.4151)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EE7 #7BE75E
analogous
#855EE7 #CA5EE7 #E75EBF
triadic
#CA5EE7 #E7CA5E #5EE7CA
tetradic
#CA5EE7 #E7855E #7BE75E #5EBFE7
square
#CA5EE7 #E7855E #7BE75E #5EBFE7
split-complementary
#CA5EE7 #BFE75E #5EE785
monochromatic
#911AB0 #B829DF #CA5EE7 #DC93EF #EDC9F7

Accessibility & contrast

On white

3.35
#CA5EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CA5EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EE7
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EE7#FFFFFF#000000##000000
##CA5EE71.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#6590E4
Tritanopia (blue-blind)
#CA749A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5ee7;
/* rgb */ color: rgb(202, 94, 231);
/* oklch */ color: oklch(66.8% 0.216 318.6);
Tailwind
colors: {
  custom: {
    50: '#dd91ef',
    500: '#ca5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ee7;
$custom-light: #dd91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ee7",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 287.299,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66773,
    "c": 0.21564,
    "h": 318.6
  },
  "luminance": 0.26331
}

Semantic roles & 50–950 ramp

primary
#CA5EE7
secondary
#C2E9B8
accent
#D60F39
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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