#CA5DFF#CA5DFF

#CA5DFF is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.1% C 0.240 H 312.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CA5DFF
RGBrgb(202, 93, 255)
HSLhsl(280, 100%, 68%)
HSVhsv(280, 64%, 100%)
CMYKcmyk(20.8%, 63.5%, 0%, 0%)
CIE-LABlab(59.53, 67.90, -62.53)
CIE-LCHlch(59.53, 92.31, 317.36°)
OKLaboklab(68.06% 0.1629 -0.176)
OKLCHoklch(68.06% 0.24 312.8)
XYZxyz(46.3183, 27.6065, 97.4770)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DFF #92FF5D
analogous
#795DFF #CA5DFF #FF5DE3
triadic
#CA5DFF #FFCA5D #5DFFCA
tetradic
#CA5DFF #FF795D #92FF5D #5DE3FF
square
#CA5DFF #FF795D #92FF5D #5DE3FF
split-complementary
#CA5DFF #E3FF5D #5DFF79
monochromatic
#9800E2 #B620FF #CA5DFF #DE9AFF #F2D7FF

Accessibility & contrast

On white

3.22
#CA5DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CA5DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DFF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DFF#FFFFFF#000000##000000
##CA5DFF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#018AFF
Deuteranopia (green-blind)
#5192FB
Tritanopia (blue-blind)
#C47CA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ca5dff;
/* rgb */ color: rgb(202, 93, 255);
/* oklch */ color: oklch(68.1% 0.240 312.8);
Tailwind
colors: {
  custom: {
    50: '#de91ff',
    500: '#ca5dff',
    950: '#000000',
  },
}
SCSS
$custom: #ca5dff;
$custom-light: #de91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5dff",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 280.37,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6806,
    "c": 0.2398,
    "h": 312.8
  },
  "luminance": 0.27605
}

Semantic roles & 50–950 ramp

primary
#CA5DFF
secondary
#D3F4C3
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CA5DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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