#CA5DEF#CA5DEF

#CA5DEF is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.1% C 0.225 H 316.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CA5DEF
RGBrgb(202, 93, 239)
HSLhsl(285, 82%, 65%)
HSVhsv(285, 61%, 94%)
CMYKcmyk(15.5%, 61.1%, 0%, 6.3%)
CIE-LABlab(58.62, 64.71, -55.12)
CIE-LCHlch(58.62, 85.00, 319.58°)
OKLaboklab(67.11% 0.1631 -0.1543)
OKLCHoklch(67.11% 0.225 316.6)
XYZxyz(43.8491, 26.6189, 84.4728)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5DEF #82EF5D
analogous
#815DEF #CA5DEF #EF5DCB
triadic
#CA5DEF #EFCA5D #5DEFCA
tetradic
#CA5DEF #EF815D #82EF5D #5DCBEF
square
#CA5DEF #EF815D #82EF5D #5DCBEF
split-complementary
#CA5DEF #CBEF5D #5DEF81
monochromatic
#9313BF #B825E9 #CA5DEF #DC95F5 #EECCFA

Accessibility & contrast

On white

3.32
#CA5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CA5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5DEF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5DEF#FFFFFF#000000##000000
##CA5DEF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F4
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#C8779E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5def;
/* rgb */ color: rgb(202, 93, 239);
/* oklch */ color: oklch(67.1% 0.225 316.6);
Tailwind
colors: {
  custom: {
    50: '#dd91f5',
    500: '#ca5def',
    950: '#000000',
  },
}
SCSS
$custom: #ca5def;
$custom-light: #dd91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5def",
  "rgb": {
    "r": 202,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 284.795,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67107,
    "c": 0.22457,
    "h": 316.6
  },
  "luminance": 0.26617
}

Semantic roles & 50–950 ramp

primary
#CA5DEF
secondary
#C8EDBB
accent
#DE073E
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#150D17
muted
#847E85

Preview Lab

Preview with #CA5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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