#CA5EFB#CA5EFB

#CA5EFB is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.9% C 0.235 H 313.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#CA5EFB
RGBrgb(202, 94, 251)
HSLhsl(281, 95%, 68%)
HSVhsv(281, 63%, 98%)
CMYKcmyk(19.5%, 62.5%, 0%, 1.6%)
CIE-LABlab(59.46, 66.65, -60.44)
CIE-LCHlch(59.46, 89.97, 317.80°)
OKLaboklab(67.93% 0.1619 -0.1699)
OKLCHoklch(67.93% 0.235 313.6)
XYZxyz(45.7694, 27.5284, 94.1506)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EFB #8FFB5E
analogous
#7B5EFB #CA5EFB #FB5EDD
triadic
#CA5EFB #FBCA5E #5EFBCA
tetradic
#CA5EFB #FB7B5E #8FFB5E #5EDDFB
square
#CA5EFB #FB7B5E #8FFB5E #5EDDFB
split-complementary
#CA5EFB #DDFB5E #5EFB7B
monochromatic
#9705D9 #B622FA #CA5EFB #DE9AFC #F1D5FE

Accessibility & contrast

On white

3.23
#CA5EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#CA5EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EFB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EFB#FFFFFF#000000##000000
##CA5EFB1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A89FF
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#C57CA4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca5efb;
/* rgb */ color: rgb(202, 94, 251);
/* oklch */ color: oklch(67.9% 0.235 313.6);
Tailwind
colors: {
  custom: {
    50: '#de92fd',
    500: '#ca5efb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5efb;
$custom-light: #de92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5efb",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 281.274,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67933,
    "c": 0.23465,
    "h": 313.6
  },
  "luminance": 0.27527
}

Semantic roles & 50–950 ramp

primary
#CA5EFB
secondary
#D1F3C2
accent
#E60048
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA5EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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