#CA5FBD#CA5FBD

#CA5FBD is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.8% C 0.177 H 332.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#CA5FBD
RGBrgb(202, 95, 189)
HSLhsl(307, 50%, 58%)
HSVhsv(307, 53%, 79%)
CMYKcmyk(0%, 53%, 6.4%, 20.8%)
CIE-LABlab(56.50, 54.64, -30.18)
CIE-LCHlch(56.50, 62.42, 331.09°)
OKLaboklab(64.76% 0.1562 -0.0822)
OKLCHoklch(64.76% 0.177 332.2)
XYZxyz(37.6345, 24.4176, 50.8651)
Luminance0.2442 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FBD #5FCA6C
analogous
#A15FCA #CA5FBD #CA5F87
triadic
#CA5FBD #BDCA5F #5FBDCA
tetradic
#CA5FBD #CAA15F #5FCA6C #5F87CA
square
#CA5FBD #CAA15F #5FCA6C #5F87CA
split-complementary
#CA5FBD #87CA5F #5FCAA1
monochromatic
#832B78 #B13BA3 #CA5FBD #D98DD0 #E8BBE3

Accessibility & contrast

On white

3.57
#CA5FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#CA5FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FBD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FBD#FFFFFF#000000##000000
##CA5FBD1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EC0
Deuteranopia (green-blind)
#7B8DBA
Tritanopia (blue-blind)
#D26786
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5fbd;
/* rgb */ color: rgb(202, 95, 189);
/* oklch */ color: oklch(64.8% 0.177 332.2);
Tailwind
colors: {
  custom: {
    50: '#dc91d1',
    500: '#ca5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fbd;
$custom-light: #dc91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fbd",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 307.29,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6476,
    "c": 0.17652,
    "h": 332.2
  },
  "luminance": 0.24415
}

Semantic roles & 50–950 ramp

primary
#CA5FBD
secondary
#ADD8B2
accent
#DA5F4E
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CA5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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