#CA5EFC#CA5EFC

#CA5EFC is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.0% C 0.236 H 313.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CA5EFC
RGBrgb(202, 94, 252)
HSLhsl(281, 96%, 68%)
HSVhsv(281, 63%, 99%)
CMYKcmyk(19.8%, 62.7%, 0%, 1.2%)
CIE-LABlab(59.52, 66.85, -60.90)
CIE-LCHlch(59.52, 90.43, 317.67°)
OKLaboklab(67.99% 0.1618 -0.1712)
OKLCHoklch(67.99% 0.236 313.4)
XYZxyz(45.9275, 27.5916, 94.9829)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EFC #90FC5E
analogous
#7B5EFC #CA5EFC #FC5EDF
triadic
#CA5EFC #FCCA5E #5EFCCA
tetradic
#CA5EFC #FC7B5E #90FC5E #5EDFFC
square
#CA5EFC #FC7B5E #90FC5E #5EDFFC
split-complementary
#CA5EFC #DFFC5E #5EFC7B
monochromatic
#9704DC #B622FB #CA5EFC #DE9AFD #F2D6FE

Accessibility & contrast

On white

3.22
#CA5EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CA5EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EFC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EFC#FFFFFF#000000##000000
##CA5EFC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#178AFF
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#C57CA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca5efc;
/* rgb */ color: rgb(202, 94, 252);
/* oklch */ color: oklch(68.0% 0.236 313.4);
Tailwind
colors: {
  custom: {
    50: '#de92fe',
    500: '#ca5efc',
    950: '#000000',
  },
}
SCSS
$custom: #ca5efc;
$custom-light: #de92fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5efc",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 252
  },
  "hsl": {
    "h": 281.013,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67994,
    "c": 0.23562,
    "h": 313.4
  },
  "luminance": 0.2759
}

Semantic roles & 50–950 ramp

primary
#CA5EFC
secondary
#D2F3C3
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA5EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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