#CA5EF6#CA5EF6

#CA5EF6 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.6% C 0.230 H 314.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#CA5EF6
RGBrgb(202, 94, 246)
HSLhsl(283, 89%, 67%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.9%, 61.8%, 0%, 3.5%)
CIE-LABlab(59.17, 65.64, -58.12)
CIE-LCHlch(59.17, 87.68, 318.48°)
OKLaboklab(67.64% 0.162 -0.1631)
OKLCHoklch(67.64% 0.23 314.8)
XYZxyz(44.9917, 27.2173, 90.0543)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5EF6 #8AF65E
analogous
#7E5EF6 #CA5EF6 #F65ED6
triadic
#CA5EF6 #F6CA5E #5EF6CA
tetradic
#CA5EF6 #F67E5E #8AF65E #5ED6F6
square
#CA5EF6 #F67E5E #8AF65E #5ED6F6
split-complementary
#CA5EF6 #D6F65E #5EF67E
monochromatic
#960CCE #B724F3 #CA5EF6 #DD98F9 #F0D2FC

Accessibility & contrast

On white

3.26
#CA5EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CA5EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5EF6
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5EF6#FFFFFF#000000##000000
##CA5EF61.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FB
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#C77AA2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ca5ef6;
/* rgb */ color: rgb(202, 94, 246);
/* oklch */ color: oklch(67.6% 0.230 314.8);
Tailwind
colors: {
  custom: {
    50: '#de92fa',
    500: '#ca5ef6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5ef6;
$custom-light: #de92fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5ef6",
  "rgb": {
    "r": 202,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 282.632,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67635,
    "c": 0.22987,
    "h": 314.8
  },
  "luminance": 0.27216
}

Semantic roles & 50–950 ramp

primary
#CA5EF6
secondary
#CEF0BF
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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