#CA5FD2#CA5FD2

#CA5FD2 is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.8% C 0.195 H 324.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CA5FD2
RGBrgb(202, 95, 210)
HSLhsl(296, 56%, 60%)
HSVhsv(296, 55%, 82%)
CMYKcmyk(3.8%, 54.8%, 0%, 17.6%)
CIE-LABlab(57.46, 58.31, -40.66)
CIE-LCHlch(57.46, 71.09, 325.11°)
OKLaboklab(65.78% 0.1591 -0.1123)
OKLCHoklch(65.78% 0.195 324.8)
XYZxyz(40.0812, 25.3963, 63.7510)
Luminance0.2539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FD2 #67D25F
analogous
#905FD2 #CA5FD2 #D25FA1
triadic
#CA5FD2 #D2CA5F #5FD2CA
tetradic
#CA5FD2 #D2905F #67D25F #5FA1D2
square
#CA5FD2 #D2905F #67D25F #5FA1D2
split-complementary
#CA5FD2 #A1D25F #5FD290
monochromatic
#87288F #B536BE #CA5FD2 #DA8FDF #EABFED

Accessibility & contrast

On white

3.45
#CA5FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CA5FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FD2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FD2#FFFFFF#000000##000000
##CA5FD21.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F82D6
Deuteranopia (green-blind)
#728FCF
Tritanopia (blue-blind)
#CE6E90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca5fd2;
/* rgb */ color: rgb(202, 95, 210);
/* oklch */ color: oklch(65.8% 0.195 324.8);
Tailwind
colors: {
  custom: {
    50: '#dd91e0',
    500: '#ca5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fd2;
$custom-light: #dd91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fd2",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 295.826,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65776,
    "c": 0.19477,
    "h": 324.8
  },
  "luminance": 0.25394
}

Semantic roles & 50–950 ramp

primary
#CA5FD2
secondary
#B3DDB0
accent
#DF4853
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CA5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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