#CA5FBB#CA5FBB

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

Color values

HEX#CA5FBB
RGBrgb(202, 95, 187)
HSLhsl(308, 50%, 58%)
HSVhsv(308, 53%, 79%)
CMYKcmyk(0%, 53%, 7.4%, 20.8%)
CIE-LABlab(56.42, 54.31, -29.16)
CIE-LCHlch(56.42, 61.64, 331.76°)
OKLaboklab(64.67% 0.1558 -0.0794)
OKLCHoklch(64.67% 0.175 333)
XYZxyz(37.4189, 24.3313, 49.7296)
Luminance0.2433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FBB #5FCA6E
analogous
#A35FCA #CA5FBB #CA5F85
triadic
#CA5FBB #BBCA5F #5FBBCA
tetradic
#CA5FBB #CAA35F #5FCA6E #5F85CA
square
#CA5FBB #CAA35F #5FCA6E #5F85CA
split-complementary
#CA5FBB #85CA5F #5FCAA3
monochromatic
#832B77 #B13BA1 #CA5FBB #D98DCF #E8BBE2

Accessibility & contrast

On white

3.58
#CA5FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5FBB#FFFFFF#000000##000000
##CA5FBB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#7C8DB8
Tritanopia (blue-blind)
#D26685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5fbb;
/* rgb */ color: rgb(202, 95, 187);
/* oklch */ color: oklch(64.7% 0.175 333.0);
Tailwind
colors: {
  custom: {
    50: '#dc91cf',
    500: '#ca5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fbb;
$custom-light: #dc91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fbb",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 308.411,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64669,
    "c": 0.17487,
    "h": 333
  },
  "luminance": 0.24329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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