#CA5FBC#CA5FBC

#CA5FBC is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.7% C 0.176 H 332.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CA5FBC
RGBrgb(202, 95, 188)
HSLhsl(308, 50%, 58%)
HSVhsv(308, 53%, 79%)
CMYKcmyk(0%, 53%, 6.9%, 20.8%)
CIE-LABlab(56.46, 54.48, -29.67)
CIE-LCHlch(56.46, 62.03, 331.42°)
OKLaboklab(64.71% 0.156 -0.0808)
OKLCHoklch(64.71% 0.176 332.6)
XYZxyz(37.5263, 24.3743, 50.2954)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FBC #5FCA6D
analogous
#A25FCA #CA5FBC #CA5F86
triadic
#CA5FBC #BCCA5F #5FBCCA
tetradic
#CA5FBC #CAA25F #5FCA6D #5F86CA
square
#CA5FBC #CAA25F #5FCA6D #5F86CA
split-complementary
#CA5FBC #86CA5F #5FCAA2
monochromatic
#832B78 #B13BA2 #CA5FBC #D98DCF #E8BBE3

Accessibility & contrast

On white

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

On black

5.87
#CA5FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FBC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FBC#FFFFFF#000000##000000
##CA5FBC1.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EBF
Deuteranopia (green-blind)
#7C8DB9
Tritanopia (blue-blind)
#D26785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5fbc;
/* rgb */ color: rgb(202, 95, 188);
/* oklch */ color: oklch(64.7% 0.176 332.6);
Tailwind
colors: {
  custom: {
    50: '#dc91d0',
    500: '#ca5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fbc;
$custom-light: #dc91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fbc",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 307.85,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64714,
    "c": 0.1757,
    "h": 332.6
  },
  "luminance": 0.24372
}

Semantic roles & 50–950 ramp

primary
#CA5FBC
secondary
#ADD8B3
accent
#DA604E
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CA5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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