#CA5CDB#CA5CDB

#CA5CDB is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 65.9% C 0.207 H 322.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CA5CDB
RGBrgb(202, 92, 219)
HSLhsl(292, 64%, 61%)
HSVhsv(292, 58%, 86%)
CMYKcmyk(7.8%, 58%, 0%, 14.1%)
CIE-LABlab(57.39, 61.35, -45.86)
CIE-LCHlch(57.39, 76.59, 323.22°)
OKLaboklab(65.87% 0.1637 -0.1273)
OKLCHoklch(65.87% 0.207 322.1)
XYZxyz(40.9691, 25.3273, 69.7348)
Luminance0.2532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5CDB #6DDB5C
analogous
#8A5CDB #CA5CDB #DB5CAC
triadic
#CA5CDB #DBCA5C #5CDBCA
tetradic
#CA5CDB #DB8A5C #6DDB5C #5CACDB
square
#CA5CDB #DB8A5C #6DDB5C #5CACDB
split-complementary
#CA5CDB #ACDB5C #5CDB8A
monochromatic
#8A229A #B72DCD #CA5CDB #DA8EE6 #EBC0F1

Accessibility & contrast

On white

3.46
#CA5CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CA5CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5CDB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5CDB#FFFFFF#000000##000000
##CA5CDB1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#6B8ED8
Tritanopia (blue-blind)
#CC6F93
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca5cdb;
/* rgb */ color: rgb(202, 92, 219);
/* oklch */ color: oklch(65.9% 0.207 322.1);
Tailwind
colors: {
  custom: {
    50: '#dd90e6',
    500: '#ca5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5cdb;
$custom-light: #dd90e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5cdb",
  "rgb": {
    "r": 202,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 291.969,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65872,
    "c": 0.20739,
    "h": 322.1
  },
  "luminance": 0.25325
}

Semantic roles & 50–950 ramp

primary
#CA5CDB
secondary
#B8E1B1
accent
#CC1A32
background
#FDF9FE
surface
#FBF1FC
border
#D4CBD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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