#CA5FEF#CA5FEF

#CA5FEF is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.3% C 0.222 H 316.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CA5FEF
RGBrgb(202, 95, 239)
HSLhsl(285, 82%, 65%)
HSVhsv(285, 60%, 94%)
CMYKcmyk(15.5%, 60.3%, 0%, 6.3%)
CIE-LABlab(58.95, 63.80, -54.59)
CIE-LCHlch(58.95, 83.97, 319.45°)
OKLaboklab(67.35% 0.1608 -0.1528)
OKLCHoklch(67.35% 0.222 316.5)
XYZxyz(44.0270, 26.9746, 84.5321)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FEF #84EF5F
analogous
#825FEF #CA5FEF #EF5FCC
triadic
#CA5FEF #EFCA5F #5FEFCA
tetradic
#CA5FEF #EF825F #84EF5F #5FCCEF
square
#CA5FEF #EF825F #84EF5F #5FCCEF
split-complementary
#CA5FEF #CCEF5F #5FEF82
monochromatic
#9413C0 #B827E9 #CA5FEF #DC97F5 #EFCEFA

Accessibility & contrast

On white

3.28
#CA5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CA5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FEF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FEF#FFFFFF#000000##000000
##CA5FEF1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#C8789E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5fef;
/* rgb */ color: rgb(202, 95, 239);
/* oklch */ color: oklch(67.3% 0.222 316.5);
Tailwind
colors: {
  custom: {
    50: '#dd92f5',
    500: '#ca5fef',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fef;
$custom-light: #dd92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fef",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 284.583,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67347,
    "c": 0.22181,
    "h": 316.5
  },
  "luminance": 0.26973
}

Semantic roles & 50–950 ramp

primary
#CA5FEF
secondary
#C9EDBD
accent
#DE073F
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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