#CA5FBF#CA5FBF

#CA5FBF is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.9% C 0.178 H 331.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CA5FBF
RGBrgb(202, 95, 191)
HSLhsl(306, 50%, 58%)
HSVhsv(306, 53%, 79%)
CMYKcmyk(0%, 53%, 5.4%, 20.8%)
CIE-LABlab(56.59, 54.98, -31.19)
CIE-LCHlch(56.59, 63.21, 330.43°)
OKLaboklab(64.85% 0.1565 -0.0851)
OKLCHoklch(64.85% 0.178 331.5)
XYZxyz(37.8531, 24.5050, 52.0163)
Luminance0.2450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FBF #5FCA6A
analogous
#9F5FCA #CA5FBF #CA5F89
triadic
#CA5FBF #BFCA5F #5FBFCA
tetradic
#CA5FBF #CA9F5F #5FCA6A #5F89CA
square
#CA5FBF #CA9F5F #5FCA6A #5F89CA
split-complementary
#CA5FBF #89CA5F #5FCA9F
monochromatic
#832B7A #B13BA5 #CA5FBF #D98DD1 #E8BBE4

Accessibility & contrast

On white

3.56
#CA5FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CA5FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FBF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FBF#FFFFFF#000000##000000
##CA5FBF1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC2
Deuteranopia (green-blind)
#7B8DBC
Tritanopia (blue-blind)
#D16886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5fbf;
/* rgb */ color: rgb(202, 95, 191);
/* oklch */ color: oklch(64.9% 0.178 331.5);
Tailwind
colors: {
  custom: {
    50: '#dc91d2',
    500: '#ca5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fbf;
$custom-light: #dc91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fbf",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 306.168,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64852,
    "c": 0.17819,
    "h": 331.5
  },
  "luminance": 0.24503
}

Semantic roles & 50–950 ramp

primary
#CA5FBF
secondary
#ADD8B1
accent
#DA5C4E
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CA5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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