#CA5FEB#CA5FEB

#CA5FEB is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.1% C 0.218 H 317.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CA5FEB
RGBrgb(202, 95, 235)
HSLhsl(286, 78%, 65%)
HSVhsv(286, 60%, 92%)
CMYKcmyk(14%, 59.6%, 0%, 7.8%)
CIE-LABlab(58.73, 63.02, -52.71)
CIE-LCHlch(58.73, 82.16, 320.09°)
OKLaboklab(67.12% 0.1607 -0.1473)
OKLCHoklch(67.12% 0.218 317.5)
XYZxyz(43.4426, 26.7408, 81.4543)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5FEB #80EB5F
analogous
#845FEB #CA5FEB #EB5FC6
triadic
#CA5FEB #EBCA5F #5FEBCA
tetradic
#CA5FEB #EB845F #80EB5F #5FC6EB
square
#CA5FEB #EB845F #80EB5F #5FC6EB
split-complementary
#CA5FEB #C6EB5F #5FEB84
monochromatic
#9217B9 #B829E4 #CA5FEB #DC95F2 #EECCF9

Accessibility & contrast

On white

3.31
#CA5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CA5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5FEB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5FEB#FFFFFF#000000##000000
##CA5FEB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#6391E7
Tritanopia (blue-blind)
#C9779C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ca5feb;
/* rgb */ color: rgb(202, 95, 235);
/* oklch */ color: oklch(67.1% 0.218 317.5);
Tailwind
colors: {
  custom: {
    50: '#dd92f2',
    500: '#ca5feb',
    950: '#000000',
  },
}
SCSS
$custom: #ca5feb;
$custom-light: #dd92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5feb",
  "rgb": {
    "r": 202,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 285.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67119,
    "c": 0.218,
    "h": 317.5
  },
  "luminance": 0.26739
}

Semantic roles & 50–950 ramp

primary
#CA5FEB
secondary
#C6EBBB
accent
#DA0B3C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #CA5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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