#CA5FFE#CA5FFE

#CA5FFE is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.2% C 0.236 H 312.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#CA5FFE
RGBrgb(202, 95, 254)
HSLhsl(280, 99%, 68%)
HSVhsv(280, 63%, 100%)
CMYKcmyk(20.5%, 62.6%, 0%, 0.4%)
CIE-LABlab(59.80, 66.81, -61.55)
CIE-LCHlch(59.80, 90.84, 317.34°)
OKLaboklab(68.23% 0.1606 -0.1732)
OKLCHoklch(68.23% 0.236 312.9)
XYZxyz(46.3356, 27.8980, 96.6907)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FFE #93FE5F
analogous
#7A5FFE #CA5FFE #FE5FE3
triadic
#CA5FFE #FECA5F #5FFECA
tetradic
#CA5FFE #FE7A5F #93FE5F #5FE3FE
square
#CA5FFE #FE7A5F #93FE5F #5FE3FE
split-complementary
#CA5FFE #E3FE5F #5FFE7A
monochromatic
#9801E1 #B622FE #CA5FFE #DE9CFE #F2D9FF

Accessibility & contrast

On white

3.19
#CA5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#CA5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FFE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FFE#FFFFFF#000000##000000
##CA5FFE1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#158AFF
Deuteranopia (green-blind)
#5492FA
Tritanopia (blue-blind)
#C57DA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca5ffe;
/* rgb */ color: rgb(202, 95, 254);
/* oklch */ color: oklch(68.2% 0.236 312.9);
Tailwind
colors: {
  custom: {
    50: '#de92ff',
    500: '#ca5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ffe;
$custom-light: #de92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ffe",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 280.377,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.68232,
    "c": 0.23621,
    "h": 312.9
  },
  "luminance": 0.27897
}

Semantic roles & 50–950 ramp

primary
#CA5FFE
secondary
#D4F4C4
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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