#CA5FDC#CA5FDC

#CA5FDC is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.3% C 0.204 H 321.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CA5FDC
RGBrgb(202, 95, 220)
HSLhsl(291, 64%, 62%)
HSVhsv(291, 57%, 86%)
CMYKcmyk(8.2%, 56.8%, 0%, 13.7%)
CIE-LABlab(57.95, 60.15, -45.54)
CIE-LCHlch(57.95, 75.45, 322.88°)
OKLaboklab(66.3% 0.16 -0.1264)
OKLCHoklch(66.3% 0.204 321.7)
XYZxyz(41.3662, 25.9103, 70.5185)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FDC #71DC5F
analogous
#8C5FDC #CA5FDC #DC5FB0
triadic
#CA5FDC #DCCA5F #5FDCCA
tetradic
#CA5FDC #DC8C5F #71DC5F #5FB0DC
square
#CA5FDC #DC8C5F #71DC5F #5FB0DC
split-complementary
#CA5FDC #B0DC5F #5FDC8C
monochromatic
#8C239E #B92ED0 #CA5FDC #DB91E7 #EBC3F2

Accessibility & contrast

On white

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

On black

6.18
#CA5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FDC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FDC#FFFFFF#000000##000000
##CA5FDC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#6D8FD9
Tritanopia (blue-blind)
#CC7195
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ca5fdc;
/* rgb */ color: rgb(202, 95, 220);
/* oklch */ color: oklch(66.3% 0.204 321.7);
Tailwind
colors: {
  custom: {
    50: '#dd92e7',
    500: '#ca5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fdc;
$custom-light: #dd92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fdc",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 291.36,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66296,
    "c": 0.20392,
    "h": 321.7
  },
  "luminance": 0.25908
}

Semantic roles & 50–950 ramp

primary
#CA5FDC
secondary
#BBE3B4
accent
#CC1A33
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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