#CA5FC6#CA5FC6

#CA5FC6 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.184 H 328.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CA5FC6
RGBrgb(202, 95, 198)
HSLhsl(302, 50%, 58%)
HSVhsv(302, 53%, 79%)
CMYKcmyk(0%, 53%, 2%, 20.8%)
CIE-LABlab(56.90, 56.18, -34.71)
CIE-LCHlch(56.90, 66.04, 328.29°)
OKLaboklab(65.18% 0.1576 -0.0952)
OKLCHoklch(65.18% 0.184 328.9)
XYZxyz(38.6419, 24.8205, 56.1706)
Luminance0.2482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FC6 #5FCA63
analogous
#985FCA #CA5FC6 #CA5F90
triadic
#CA5FC6 #C6CA5F #5FC6CA
tetradic
#CA5FC6 #CA985F #5FCA63 #5F90CA
square
#CA5FC6 #CA985F #5FCA63 #5F90CA
split-complementary
#CA5FC6 #90CA5F #5FCA98
monochromatic
#832B80 #B13BAD #CA5FC6 #D98DD6 #E8BBE7

Accessibility & contrast

On white

3.52
#CA5FC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CA5FC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FC6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FC6#FFFFFF#000000##000000
##CA5FC61.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC9
Deuteranopia (green-blind)
#788EC3
Tritanopia (blue-blind)
#D06A8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca5fc6;
/* rgb */ color: rgb(202, 95, 198);
/* oklch */ color: oklch(65.2% 0.184 328.9);
Tailwind
colors: {
  custom: {
    50: '#dd91d7',
    500: '#ca5fc6',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fc6;
$custom-light: #dd91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fc6",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 198
  },
  "hsl": {
    "h": 302.243,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65182,
    "c": 0.18415,
    "h": 328.9
  },
  "luminance": 0.24818
}

Semantic roles & 50–950 ramp

primary
#CA5FC6
secondary
#ADD8AF
accent
#DA534E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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