#CA5CF4#CA5CF4

#CA5CF4 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.231 H 315.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CA5CF4
RGBrgb(202, 92, 244)
HSLhsl(283, 87%, 66%)
HSVhsv(283, 62%, 96%)
CMYKcmyk(17.2%, 62.3%, 0%, 4.3%)
CIE-LABlab(58.74, 66.14, -57.71)
CIE-LCHlch(58.74, 87.78, 318.89°)
OKLaboklab(67.28% 0.1643 -0.1619)
OKLCHoklch(67.28% 0.231 315.4)
XYZxyz(44.5108, 26.7440, 88.3878)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CF4 #86F45C
analogous
#7E5CF4 #CA5CF4 #F45CD2
triadic
#CA5CF4 #F4CA5C #5CF4CA
tetradic
#CA5CF4 #F47E5C #86F45C #5CD2F4
square
#CA5CF4 #F47E5C #86F45C #5CD2F4
split-complementary
#CA5CF4 #D2F45C #5CF47E
monochromatic
#950EC8 #B723F0 #CA5CF4 #DD95F8 #EFCFFC

Accessibility & contrast

On white

3.31
#CA5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CA5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CF4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CF4#FFFFFF#000000##000000
##CA5CF41.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2487F9
Deuteranopia (green-blind)
#5A90F0
Tritanopia (blue-blind)
#C778A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5cf4;
/* rgb */ color: rgb(202, 92, 244);
/* oklch */ color: oklch(67.3% 0.231 315.4);
Tailwind
colors: {
  custom: {
    50: '#de90f8',
    500: '#ca5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cf4;
$custom-light: #de90f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cf4",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 283.421,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67282,
    "c": 0.23066,
    "h": 315.4
  },
  "luminance": 0.26743
}

Semantic roles & 50–950 ramp

primary
#CA5CF4
secondary
#CBEFBD
accent
#E40240
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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