#CA5DE7#CA5DE7

#CA5DE7 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.7% C 0.217 H 318.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#CA5DE7
RGBrgb(202, 93, 231)
HSLhsl(287, 74%, 64%)
HSVhsv(287, 60%, 91%)
CMYKcmyk(12.6%, 59.7%, 0%, 9.4%)
CIE-LABlab(58.19, 63.16, -51.34)
CIE-LCHlch(58.19, 81.39, 320.89°)
OKLaboklab(66.65% 0.163 -0.1433)
OKLCHoklch(66.65% 0.217 318.7)
XYZxyz(42.6934, 26.1566, 78.3857)
Luminance0.2616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DE7 #7AE75D
analogous
#855DE7 #CA5DE7 #E75DBF
triadic
#CA5DE7 #E7CA5D #5DE7CA
tetradic
#CA5DE7 #E7855D #7AE75D #5DBFE7
square
#CA5DE7 #E7855D #7AE75D #5DBFE7
split-complementary
#CA5DE7 #BFE75D #5DE785
monochromatic
#901AB0 #B928DF #CA5DE7 #DB92EF #EDC8F7

Accessibility & contrast

On white

3.37
#CA5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#CA5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DE7
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DE7#FFFFFF#000000##000000
##CA5DE71.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EB
Deuteranopia (green-blind)
#6590E3
Tritanopia (blue-blind)
#CA749A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5de7;
/* rgb */ color: rgb(202, 93, 231);
/* oklch */ color: oklch(66.7% 0.217 318.7);
Tailwind
colors: {
  custom: {
    50: '#dd91ef',
    500: '#ca5de7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5de7;
$custom-light: #dd91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5de7",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 287.391,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66651,
    "c": 0.21705,
    "h": 318.7
  },
  "luminance": 0.26155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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