#CA5FE7#CA5FE7

#CA5FE7 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.9% C 0.214 H 318.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CA5FE7
RGBrgb(202, 95, 231)
HSLhsl(287, 74%, 64%)
HSVhsv(287, 59%, 91%)
CMYKcmyk(12.6%, 58.9%, 0%, 9.4%)
CIE-LABlab(58.52, 62.25, -50.81)
CIE-LCHlch(58.52, 80.35, 320.78°)
OKLaboklab(66.9% 0.1606 -0.1418)
OKLCHoklch(66.9% 0.214 318.6)
XYZxyz(42.8712, 26.5123, 78.4449)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FE7 #7CE75F
analogous
#865FE7 #CA5FE7 #E75FC0
triadic
#CA5FE7 #E7CA5F #5FE7CA
tetradic
#CA5FE7 #E7865F #7CE75F #5FC0E7
square
#CA5FE7 #E7865F #7CE75F #5FC0E7
split-complementary
#CA5FE7 #C0E75F #5FE786
monochromatic
#911BB1 #B82ADF #CA5FE7 #DC94EF #EDC9F7

Accessibility & contrast

On white

3.33
#CA5FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CA5FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FE7
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FE7#FFFFFF#000000##000000
##CA5FE71.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D86EB
Deuteranopia (green-blind)
#6690E4
Tritanopia (blue-blind)
#CA759A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5fe7;
/* rgb */ color: rgb(202, 95, 231);
/* oklch */ color: oklch(66.9% 0.214 318.6);
Tailwind
colors: {
  custom: {
    50: '#dd92ef',
    500: '#ca5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fe7;
$custom-light: #dd92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fe7",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 287.206,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66895,
    "c": 0.21422,
    "h": 318.6
  },
  "luminance": 0.2651
}

Semantic roles & 50–950 ramp

primary
#CA5FE7
secondary
#C3E9B9
accent
#D60F3A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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