#CA5FF5#CA5FF5

#CA5FF5 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.7% C 0.228 H 315.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#CA5FF5
RGBrgb(202, 95, 245)
HSLhsl(283, 88%, 67%)
HSVhsv(283, 61%, 96%)
CMYKcmyk(17.6%, 61.2%, 0%, 3.9%)
CIE-LABlab(59.28, 64.99, -57.40)
CIE-LCHlch(59.28, 86.71, 318.55°)
OKLaboklab(67.7% 0.1608 -0.161)
OKLCHoklch(67.7% 0.228 315)
XYZxyz(44.9281, 27.3350, 89.2780)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FF5 #8AF55F
analogous
#7F5FF5 #CA5FF5 #F55FD5
triadic
#CA5FF5 #F5CA5F #5FF5CA
tetradic
#CA5FF5 #F57F5F #8AF55F #5FD5F5
square
#CA5FF5 #F57F5F #8AF55F #5FD5F5
split-complementary
#CA5FF5 #D5F55F #5FF57F
monochromatic
#960DCD #B725F1 #CA5FF5 #DD99F9 #F0D2FC

Accessibility & contrast

On white

3.25
#CA5FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#CA5FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FF5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FF5#FFFFFF#000000##000000
##CA5FF51.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A89FA
Deuteranopia (green-blind)
#5C92F1
Tritanopia (blue-blind)
#C77AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca5ff5;
/* rgb */ color: rgb(202, 95, 245);
/* oklch */ color: oklch(67.7% 0.228 315.0);
Tailwind
colors: {
  custom: {
    50: '#de92f9',
    500: '#ca5ff5',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ff5;
$custom-light: #de92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ff5",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 282.8,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67696,
    "c": 0.22755,
    "h": 315
  },
  "luminance": 0.27334
}

Semantic roles & 50–950 ramp

primary
#CA5FF5
secondary
#CEF0C0
accent
#E50142
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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