#CA5FDB#CA5FDB

#CA5FDB is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.2% C 0.203 H 322.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CA5FDB
RGBrgb(202, 95, 219)
HSLhsl(292, 63%, 62%)
HSVhsv(292, 57%, 86%)
CMYKcmyk(7.8%, 56.6%, 0%, 14.1%)
CIE-LABlab(57.90, 59.97, -45.05)
CIE-LCHlch(57.90, 75.01, 323.08°)
OKLaboklab(66.24% 0.1599 -0.125)
OKLCHoklch(66.24% 0.203 322)
XYZxyz(41.2341, 25.8574, 69.8231)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FDB #70DB5F
analogous
#8C5FDB #CA5FDB #DB5FAE
triadic
#CA5FDB #DBCA5F #5FDBCA
tetradic
#CA5FDB #DB8C5F #70DB5F #5FAEDB
square
#CA5FDB #DB8C5F #70DB5F #5FAEDB
split-complementary
#CA5FDB #AEDB5F #5FDB8C
monochromatic
#8C239C #B82ECE #CA5FDB #DB91E6 #EBC3F1

Accessibility & contrast

On white

3.40
#CA5FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CA5FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FDB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FDB#FFFFFF#000000##000000
##CA5FDB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#6D8FD8
Tritanopia (blue-blind)
#CC7194
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5fdb;
/* rgb */ color: rgb(202, 95, 219);
/* oklch */ color: oklch(66.2% 0.203 322.0);
Tailwind
colors: {
  custom: {
    50: '#dd92e6',
    500: '#ca5fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fdb;
$custom-light: #dd92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fdb",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 291.774,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66243,
    "c": 0.20299,
    "h": 322
  },
  "luminance": 0.25855
}

Semantic roles & 50–950 ramp

primary
#CA5FDB
secondary
#BAE2B4
accent
#CB1A33
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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