#CA6CEB#CA6CEB

#CA6CEB is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.8% C 0.199 H 316.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#CA6CEB
RGBrgb(202, 108, 235)
HSLhsl(284, 76%, 67%)
HSVhsv(284, 54%, 92%)
CMYKcmyk(14%, 54%, 0%, 7.8%)
CIE-LABlab(61.03, 56.84, -49.06)
CIE-LCHlch(61.03, 75.09, 319.20°)
OKLaboklab(68.8% 0.1445 -0.1368)
OKLCHoklch(68.8% 0.199 316.6)
XYZxyz(44.7129, 29.2814, 81.8777)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6CEB #8DEB6C
analogous
#8A6CEB #CA6CEB #EB6CCD
triadic
#CA6CEB #EBCA6C #6CEBCA
tetradic
#CA6CEB #EB8A6C #8DEB6C #6CCDEB
square
#CA6CEB #EB8A6C #8DEB6C #6CCDEB
split-complementary
#CA6CEB #CDEB6C #6CEB8A
monochromatic
#971AC2 #B736E4 #CA6CEB #DDA2F2 #F1D8FA

Accessibility & contrast

On white

3.06
#CA6CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#CA6CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6CEB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6CEB#FFFFFF#000000##000000
##CA6CEB1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#C980A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca6ceb;
/* rgb */ color: rgb(202, 108, 235);
/* oklch */ color: oklch(68.8% 0.199 316.6);
Tailwind
colors: {
  custom: {
    50: '#dd9af2',
    500: '#ca6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ca6ceb;
$custom-light: #dd9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6ceb",
  "rgb": {
    "r": 202,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 284.409,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.68797,
    "c": 0.19895,
    "h": 316.6
  },
  "luminance": 0.2928
}

Semantic roles & 50–950 ramp

primary
#CA6CEB
secondary
#D0EDC5
accent
#D80D42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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