#CA5FBE#CA5FBE

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

Color values

HEX#CA5FBE
RGBrgb(202, 95, 190)
HSLhsl(307, 50%, 58%)
HSVhsv(307, 53%, 79%)
CMYKcmyk(0%, 53%, 5.9%, 20.8%)
CIE-LABlab(56.55, 54.81, -30.69)
CIE-LCHlch(56.55, 62.82, 330.76°)
OKLaboklab(64.81% 0.1564 -0.0837)
OKLCHoklch(64.81% 0.177 331.8)
XYZxyz(37.7434, 24.4612, 51.4387)
Luminance0.2446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FBE #5FCA6B
analogous
#A05FCA #CA5FBE #CA5F88
triadic
#CA5FBE #BECA5F #5FBECA
tetradic
#CA5FBE #CAA05F #5FCA6B #5F88CA
square
#CA5FBE #CAA05F #5FCA6B #5F88CA
split-complementary
#CA5FBE #88CA5F #5FCAA0
monochromatic
#832B79 #B13BA4 #CA5FBE #D98DD1 #E8BBE3

Accessibility & contrast

On white

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

On black

5.89
#CA5FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FBE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FBE#FFFFFF#000000##000000
##CA5FBE1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC1
Deuteranopia (green-blind)
#7B8DBB
Tritanopia (blue-blind)
#D16786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca5fbe;
/* rgb */ color: rgb(202, 95, 190);
/* oklch */ color: oklch(64.8% 0.177 331.8);
Tailwind
colors: {
  custom: {
    50: '#dc91d2',
    500: '#ca5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fbe;
$custom-light: #dc91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fbe",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 306.729,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64806,
    "c": 0.17735,
    "h": 331.8
  },
  "luminance": 0.24459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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