#CA6CEC#CA6CEC

#CA6CEC is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.9% C 0.200 H 316.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CA6CEC
RGBrgb(202, 108, 236)
HSLhsl(284, 77%, 67%)
HSVhsv(284, 54%, 93%)
CMYKcmyk(14.4%, 54.2%, 0%, 7.5%)
CIE-LABlab(61.08, 57.05, -49.54)
CIE-LCHlch(61.08, 75.55, 319.03°)
OKLaboklab(68.85% 0.1446 -0.1381)
OKLCHoklch(68.85% 0.2 316.3)
XYZxyz(44.8577, 29.3393, 82.6407)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6CEC #8EEC6C
analogous
#8A6CEC #CA6CEC #EC6CCE
triadic
#CA6CEC #ECCA6C #6CECCA
tetradic
#CA6CEC #EC8A6C #8EEC6C #6CCEEC
square
#CA6CEC #EC8A6C #8EEC6C #6CCEEC
split-complementary
#CA6CEC #CEEC6C #6CEC8A
monochromatic
#9719C4 #B636E5 #CA6CEC #DEA2F3 #F1D8FA

Accessibility & contrast

On white

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

On black

6.87
#CA6CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6CEC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6CEC#FFFFFF#000000##000000
##CA6CEC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8EF0
Deuteranopia (green-blind)
#6E96E9
Tritanopia (blue-blind)
#C880A2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca6cec;
/* rgb */ color: rgb(202, 108, 236);
/* oklch */ color: oklch(68.9% 0.200 316.3);
Tailwind
colors: {
  custom: {
    50: '#dd9af3',
    500: '#ca6cec',
    950: '#000000',
  },
}
SCSS
$custom: #ca6cec;
$custom-light: #dd9af3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6cec",
  "rgb": {
    "r": 202,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 284.063,
    "s": 77.108,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68851,
    "c": 0.19996,
    "h": 316.3
  },
  "luminance": 0.29338
}

Semantic roles & 50–950 ramp

primary
#CA6CEC
secondary
#D1EEC6
accent
#D90C43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA6CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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