#CA58EB#CA58EB

#CA58EB is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.3% C 0.228 H 317.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CA58EB
RGBrgb(202, 88, 235)
HSLhsl(287, 79%, 63%)
HSVhsv(287, 63%, 92%)
CMYKcmyk(14%, 62.6%, 0%, 7.8%)
CIE-LABlab(57.59, 66.15, -54.52)
CIE-LCHlch(57.59, 85.72, 320.50°)
OKLaboklab(66.29% 0.1689 -0.1526)
OKLCHoklch(66.29% 0.228 317.9)
XYZxyz(42.8401, 25.5359, 81.2535)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA58EB #79EB58
analogous
#8058EB #CA58EB #EB58C2
triadic
#CA58EB #EBCA58 #58EBCA
tetradic
#CA58EB #EB8058 #79EB58 #58C2EB
square
#CA58EB #EB8058 #79EB58 #58C2EB
split-complementary
#CA58EB #C2EB58 #58EB80
monochromatic
#9015B3 #B921E4 #CA58EB #DB8FF2 #EDC5F8

Accessibility & contrast

On white

3.44
#CA58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CA58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA58EB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA58EB#FFFFFF#000000##000000
##CA58EB1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#C9729A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ca58eb;
/* rgb */ color: rgb(202, 88, 235);
/* oklch */ color: oklch(66.3% 0.228 317.9);
Tailwind
colors: {
  custom: {
    50: '#de8ef2',
    500: '#ca58eb',
    950: '#000000',
  },
}
SCSS
$custom: #ca58eb;
$custom-light: #de8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca58eb",
  "rgb": {
    "r": 202,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 286.531,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66293,
    "c": 0.22761,
    "h": 317.9
  },
  "luminance": 0.25534
}

Semantic roles & 50–950 ramp

primary
#CA58EB
secondary
#C1EAB5
accent
#DB0B39
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CA58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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