#CA5FDF#CA5FDF

#CA5FDF is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.5% C 0.207 H 320.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CA5FDF
RGBrgb(202, 95, 223)
HSLhsl(290, 67%, 62%)
HSVhsv(290, 57%, 87%)
CMYKcmyk(9.4%, 57.4%, 0%, 12.5%)
CIE-LABlab(58.10, 60.72, -46.98)
CIE-LCHlch(58.10, 76.77, 322.27°)
OKLaboklab(66.46% 0.1602 -0.1306)
OKLCHoklch(66.46% 0.207 320.8)
XYZxyz(41.7671, 26.0706, 72.6298)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FDF #74DF5F
analogous
#8A5FDF #CA5FDF #DF5FB4
triadic
#CA5FDF #DFCA5F #5FDFCA
tetradic
#CA5FDF #DF8A5F #74DF5F #5FB4DF
square
#CA5FDF #DF8A5F #74DF5F #5FB4DF
split-complementary
#CA5FDF #B4DF5F #5FDF8A
monochromatic
#8E21A3 #B92CD5 #CA5FDF #DB92E9 #ECC5F3

Accessibility & contrast

On white

3.38
#CA5FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CA5FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FDF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FDF#FFFFFF#000000##000000
##CA5FDF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#6B90DC
Tritanopia (blue-blind)
#CC7296
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ca5fdf;
/* rgb */ color: rgb(202, 95, 223);
/* oklch */ color: oklch(66.5% 0.207 320.8);
Tailwind
colors: {
  custom: {
    50: '#dd92e9',
    500: '#ca5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ca5fdf;
$custom-light: #dd92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5fdf",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 290.156,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66457,
    "c": 0.20671,
    "h": 320.8
  },
  "luminance": 0.26069
}

Semantic roles & 50–950 ramp

primary
#CA5FDF
secondary
#BDE4B6
accent
#CF1735
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CA5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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