#CA5FC9#CA5FC9

#CA5FC9 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.3% C 0.187 H 327.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CA5FC9
RGBrgb(202, 95, 201)
HSLhsl(301, 50%, 58%)
HSVhsv(301, 53%, 79%)
CMYKcmyk(0%, 53%, 0.5%, 20.8%)
CIE-LABlab(57.04, 56.70, -36.21)
CIE-LCHlch(57.04, 67.28, 327.44°)
OKLaboklab(65.33% 0.158 -0.0995)
OKLCHoklch(65.33% 0.187 327.8)
XYZxyz(38.9914, 24.9603, 58.0111)
Luminance0.2496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FC9 #5FCA60
analogous
#955FCA #CA5FC9 #CA5F93
triadic
#CA5FC9 #C9CA5F #5FC9CA
tetradic
#CA5FC9 #CA955F #5FCA60 #5F93CA
square
#CA5FC9 #CA955F #5FCA60 #5F93CA
split-complementary
#CA5FC9 #93CA5F #5FCA95
monochromatic
#832B82 #B13BB0 #CA5FC9 #D98DD9 #E8BBE8

Accessibility & contrast

On white

3.50
#CA5FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CA5FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FC9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FC9#FFFFFF#000000##000000
##CA5FC91.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CC
Deuteranopia (green-blind)
#768EC6
Tritanopia (blue-blind)
#D06B8B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ca5fc9;
/* rgb */ color: rgb(202, 95, 201);
/* oklch */ color: oklch(65.3% 0.187 327.8);
Tailwind
colors: {
  custom: {
    50: '#dd91da',
    500: '#ca5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fc9;
$custom-light: #dd91da;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fc9",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 300.561,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65327,
    "c": 0.18675,
    "h": 327.8
  },
  "luminance": 0.24958
}

Semantic roles & 50–950 ramp

primary
#CA5FC9
secondary
#ADD8AD
accent
#DA4F4E
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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