#CA5CF1#CA5CF1

#CA5CF1 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.1% C 0.228 H 316.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CA5CF1
RGBrgb(202, 92, 241)
HSLhsl(284, 84%, 65%)
HSVhsv(284, 62%, 95%)
CMYKcmyk(16.2%, 61.8%, 0%, 5.5%)
CIE-LABlab(58.57, 65.55, -56.31)
CIE-LCHlch(58.57, 86.42, 319.33°)
OKLaboklab(67.11% 0.1643 -0.1578)
OKLCHoklch(67.11% 0.228 316.2)
XYZxyz(44.0590, 26.5633, 86.0084)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CF1 #83F15C
analogous
#7F5CF1 #CA5CF1 #F15CCE
triadic
#CA5CF1 #F1CA5C #5CF1CA
tetradic
#CA5CF1 #F17F5C #83F15C #5CCEF1
square
#CA5CF1 #F17F5C #83F15C #5CCEF1
split-complementary
#CA5CF1 #CEF15C #5CF17F
monochromatic
#9411C2 #B824EC #CA5CF1 #DC94F6 #EFCDFB

Accessibility & contrast

On white

3.33
#CA5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CA5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CF1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CF1#FFFFFF#000000##000000
##CA5CF11.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2986F6
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#C8779E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5cf1;
/* rgb */ color: rgb(202, 92, 241);
/* oklch */ color: oklch(67.1% 0.228 316.2);
Tailwind
colors: {
  custom: {
    50: '#de90f6',
    500: '#ca5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cf1;
$custom-light: #de90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cf1",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 284.295,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67105,
    "c": 0.22782,
    "h": 316.2
  },
  "luminance": 0.26562
}

Semantic roles & 50–950 ramp

primary
#CA5CF1
secondary
#C8EEBB
accent
#E1053E
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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