#CA5FF6#CA5FF6

#CA5FF6 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.229 H 314.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CA5FF6
RGBrgb(202, 95, 246)
HSLhsl(283, 89%, 67%)
HSVhsv(283, 61%, 96%)
CMYKcmyk(17.9%, 61.4%, 0%, 3.5%)
CIE-LABlab(59.34, 65.19, -57.86)
CIE-LCHlch(59.34, 87.17, 318.41°)
OKLaboklab(67.75% 0.1608 -0.1624)
OKLCHoklch(67.75% 0.229 314.7)
XYZxyz(45.0812, 27.3963, 90.0842)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FF6 #8BF65F
analogous
#7F5FF6 #CA5FF6 #F65FD6
triadic
#CA5FF6 #F6CA5F #5FF6CA
tetradic
#CA5FF6 #F67F5F #8BF65F #5FD6F6
square
#CA5FF6 #F67F5F #8BF65F #5FD6F6
split-complementary
#CA5FF6 #D6F65F #5FF67F
monochromatic
#960CCF #B725F3 #CA5FF6 #DD99F9 #F0D3FD

Accessibility & contrast

On white

3.24
#CA5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CA5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FF6
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FF6#FFFFFF#000000##000000
##CA5FF61.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2889FB
Deuteranopia (green-blind)
#5B92F2
Tritanopia (blue-blind)
#C77AA2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca5ff6;
/* rgb */ color: rgb(202, 95, 246);
/* oklch */ color: oklch(67.8% 0.229 314.7);
Tailwind
colors: {
  custom: {
    50: '#de92fa',
    500: '#ca5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ff6;
$custom-light: #de92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ff6",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 282.517,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.67754,
    "c": 0.22851,
    "h": 314.7
  },
  "luminance": 0.27395
}

Semantic roles & 50–950 ramp

primary
#CA5FF6
secondary
#CEF1C0
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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