#CA5BC2#CA5BC2

#CA5BC2 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.5% C 0.187 H 330.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CA5BC2
RGBrgb(202, 91, 194)
HSLhsl(304, 51%, 57%)
HSVhsv(304, 55%, 79%)
CMYKcmyk(0%, 55%, 4%, 20.8%)
CIE-LABlab(56.02, 57.36, -33.79)
CIE-LCHlch(56.02, 66.58, 329.50°)
OKLaboklab(64.48% 0.1624 -0.0925)
OKLCHoklch(64.48% 0.187 330.3)
XYZxyz(37.8355, 23.9362, 53.6558)
Luminance0.2393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BC2 #5BCA63
analogous
#9A5BCA #CA5BC2 #CA5B8B
triadic
#CA5BC2 #C2CA5B #5BC2CA
tetradic
#CA5BC2 #CA9A5B #5BCA63 #5B8BCA
square
#CA5BC2 #CA9A5B #5BCA63 #5B8BCA
split-complementary
#CA5BC2 #8BCA5B #5BCA9A
monochromatic
#812A7B #AF39A7 #CA5BC2 #D989D3 #E8B8E4

Accessibility & contrast

On white

3.63
#CA5BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CA5BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5BC2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5BC2#FFFFFF#000000##000000
##CA5BC21.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#547DC5
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#D16586
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ca5bc2;
/* rgb */ color: rgb(202, 91, 194);
/* oklch */ color: oklch(64.5% 0.187 330.3);
Tailwind
colors: {
  custom: {
    50: '#dd8fd5',
    500: '#ca5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bc2;
$custom-light: #dd8fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bc2",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 304.324,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64479,
    "c": 0.1869,
    "h": 330.3
  },
  "luminance": 0.23934
}

Semantic roles & 50–950 ramp

primary
#CA5BC2
secondary
#AAD7AD
accent
#DB574D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CA5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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