#CA5CE7#CA5CE7

#CA5CE7 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.5% C 0.218 H 318.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CA5CE7
RGBrgb(202, 92, 231)
HSLhsl(287, 74%, 63%)
HSVhsv(287, 60%, 91%)
CMYKcmyk(12.6%, 60.2%, 0%, 9.4%)
CIE-LABlab(58.02, 63.61, -51.61)
CIE-LCHlch(58.02, 81.91, 320.95°)
OKLaboklab(66.53% 0.1642 -0.1441)
OKLCHoklch(66.53% 0.218 318.7)
XYZxyz(42.6062, 25.9822, 78.3566)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CE7 #79E75C
analogous
#845CE7 #CA5CE7 #E75CBE
triadic
#CA5CE7 #E7CA5C #5CE7CA
tetradic
#CA5CE7 #E7845C #79E75C #5CBEE7
square
#CA5CE7 #E7845C #79E75C #5CBEE7
split-complementary
#CA5CE7 #BEE75C #5CE784
monochromatic
#901AAF #B927DF #CA5CE7 #DB91EF #EDC7F7

Accessibility & contrast

On white

3.39
#CA5CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CA5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CE7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CE7#FFFFFF#000000##000000
##CA5CE71.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#CA7399
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5ce7;
/* rgb */ color: rgb(202, 92, 231);
/* oklch */ color: oklch(66.5% 0.218 318.7);
Tailwind
colors: {
  custom: {
    50: '#dd90ef',
    500: '#ca5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ce7;
$custom-light: #dd90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ce7",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 287.482,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66531,
    "c": 0.21845,
    "h": 318.7
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

primary
#CA5CE7
secondary
#C1E8B7
accent
#D60F39
background
#FDF9FE
surface
#FBF1FD
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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