#CA5FB9#CA5FB9

#CA5FB9 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.6% C 0.173 H 333.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CA5FB9
RGBrgb(202, 95, 185)
HSLhsl(310, 50%, 58%)
HSVhsv(310, 53%, 79%)
CMYKcmyk(0%, 53%, 8.4%, 20.8%)
CIE-LABlab(56.33, 53.98, -28.14)
CIE-LCHlch(56.33, 60.87, 332.46°)
OKLaboklab(64.58% 0.1555 -0.0765)
OKLCHoklch(64.58% 0.173 333.8)
XYZxyz(37.2063, 24.2463, 48.6099)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FB9 #5FCA70
analogous
#A55FCA #CA5FB9 #CA5F83
triadic
#CA5FB9 #B9CA5F #5FB9CA
tetradic
#CA5FB9 #CAA55F #5FCA70 #5F83CA
square
#CA5FB9 #CAA55F #5FCA70 #5F83CA
split-complementary
#CA5FB9 #83CA5F #5FCAA5
monochromatic
#832B75 #B13B9E #CA5FB9 #D98DCD #E8BBE1

Accessibility & contrast

On white

3.59
#CA5FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CA5FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FB9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FB9#FFFFFF#000000##000000
##CA5FB91.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBC
Deuteranopia (green-blind)
#7D8DB6
Tritanopia (blue-blind)
#D26684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5fb9;
/* rgb */ color: rgb(202, 95, 185);
/* oklch */ color: oklch(64.6% 0.173 333.8);
Tailwind
colors: {
  custom: {
    50: '#dc91ce',
    500: '#ca5fb9',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fb9;
$custom-light: #dc91ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fb9",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 185
  },
  "hsl": {
    "h": 309.533,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64579,
    "c": 0.17325,
    "h": 333.8
  },
  "luminance": 0.24244
}

Semantic roles & 50–950 ramp

primary
#CA5FB9
secondary
#ADD8B4
accent
#DA644E
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CA5FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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