#CA5ACB#CA5ACB

#CA5ACB is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.8% C 0.196 H 327.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CA5ACB
RGBrgb(202, 90, 203)
HSLhsl(299, 52%, 57%)
HSVhsv(299, 56%, 80%)
CMYKcmyk(0.5%, 55.7%, 0%, 20.4%)
CIE-LABlab(56.27, 59.37, -38.55)
CIE-LCHlch(56.27, 70.79, 327.00°)
OKLaboklab(64.8% 0.1648 -0.1062)
OKLCHoklch(64.8% 0.196 327.2)
XYZxyz(38.7921, 24.1830, 59.1129)
Luminance0.2418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5ACB #5BCB5A
analogous
#915ACB #CA5ACB #CB5A94
triadic
#CA5ACB #CBCA5A #5ACBCA
tetradic
#CA5ACB #CB915A #5BCB5A #5A94CB
square
#CA5ACB #CB915A #5BCB5A #5A94CB
split-complementary
#CA5ACB #94CB5A #5ACB91
monochromatic
#812982 #AF38B0 #CA5ACB #D989DA #E8B7E8

Accessibility & contrast

On white

3.60
#CA5ACB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CA5ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5ACB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5ACB#FFFFFF#000000##000000
##CA5ACB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECF
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#CF678A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ca5acb;
/* rgb */ color: rgb(202, 90, 203);
/* oklch */ color: oklch(64.8% 0.196 327.2);
Tailwind
colors: {
  custom: {
    50: '#dd8edb',
    500: '#ca5acb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5acb;
$custom-light: #dd8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5acb",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 299.469,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64796,
    "c": 0.19607,
    "h": 327.2
  },
  "luminance": 0.24181
}

Semantic roles & 50–950 ramp

primary
#CA5ACB
secondary
#AAD7AA
accent
#DC4C4E
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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