#CA5FC8#CA5FC8

#CA5FC8 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.3% C 0.186 H 328.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CA5FC8
RGBrgb(202, 95, 200)
HSLhsl(301, 50%, 58%)
HSVhsv(301, 53%, 79%)
CMYKcmyk(0%, 53%, 1%, 20.8%)
CIE-LABlab(56.99, 56.53, -35.71)
CIE-LCHlch(56.99, 66.86, 327.72°)
OKLaboklab(65.28% 0.1579 -0.0981)
OKLCHoklch(65.28% 0.186 328.2)
XYZxyz(38.8741, 24.9134, 57.3936)
Luminance0.2491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FC8 #5FCA61
analogous
#965FCA #CA5FC8 #CA5F93
triadic
#CA5FC8 #C8CA5F #5FC8CA
tetradic
#CA5FC8 #CA965F #5FCA61 #5F93CA
square
#CA5FC8 #CA965F #5FCA61 #5F93CA
split-complementary
#CA5FC8 #93CA5F #5FCA96
monochromatic
#832B82 #B13BAF #CA5FC8 #D98DD8 #E8BBE8

Accessibility & contrast

On white

3.51
#CA5FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CA5FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FC8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FC8#FFFFFF#000000##000000
##CA5FC81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#778EC5
Tritanopia (blue-blind)
#D06A8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca5fc8;
/* rgb */ color: rgb(202, 95, 200);
/* oklch */ color: oklch(65.3% 0.186 328.2);
Tailwind
colors: {
  custom: {
    50: '#dd91d9',
    500: '#ca5fc8',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fc8;
$custom-light: #dd91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fc8",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 200
  },
  "hsl": {
    "h": 301.121,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65279,
    "c": 0.18589,
    "h": 328.2
  },
  "luminance": 0.24911
}

Semantic roles & 50–950 ramp

primary
#CA5FC8
secondary
#ADD8AE
accent
#DA514E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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