#CA5BCB#CA5BCB

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

Color values

HEX#CA5BCB
RGBrgb(202, 91, 203)
HSLhsl(299, 52%, 58%)
HSVhsv(299, 55%, 80%)
CMYKcmyk(0.5%, 55.2%, 0%, 20.4%)
CIE-LABlab(56.44, 58.92, -38.29)
CIE-LCHlch(56.44, 70.26, 326.98°)
OKLaboklab(64.92% 0.1635 -0.1054)
OKLCHoklch(64.92% 0.195 327.2)
XYZxyz(38.8770, 24.3528, 59.1412)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5BCB #5CCB5B
analogous
#925BCB #CA5BCB #CB5B94
triadic
#CA5BCB #CBCA5B #5BCBCA
tetradic
#CA5BCB #CB925B #5CCB5B #5B94CB
square
#CA5BCB #CB925B #5CCB5B #5B94CB
split-complementary
#CA5BCB #94CB5B #5BCB92
monochromatic
#812982 #B038B1 #CA5BCB #D989DA #E8B8E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5BCB#FFFFFF#000000##000000
##CA5BCB1.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)
#4F7ECF
Deuteranopia (green-blind)
#738CC8
Tritanopia (blue-blind)
#CF688B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5bcb;
/* rgb */ color: rgb(202, 91, 203);
/* oklch */ color: oklch(64.9% 0.195 327.2);
Tailwind
colors: {
  custom: {
    50: '#dd8fdb',
    500: '#ca5bcb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5bcb;
$custom-light: #dd8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5bcb",
  "rgb": {
    "r": 202,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 299.464,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64919,
    "c": 0.19458,
    "h": 327.2
  },
  "luminance": 0.24351
}

Semantic roles & 50–950 ramp

primary
#CA5BCB
secondary
#ABD7AA
accent
#DB4C4E
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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