#CA6DEC#CA6DEC

#CA6DEC is a light, vivid purple. Relative luminance 0.295; OKLCH L 69.0% C 0.198 H 316.2°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CA6DEC
RGBrgb(202, 109, 236)
HSLhsl(284, 77%, 68%)
HSVhsv(284, 54%, 93%)
CMYKcmyk(14.4%, 53.8%, 0%, 7.5%)
CIE-LABlab(61.27, 56.55, -49.25)
CIE-LCHlch(61.27, 74.99, 318.95°)
OKLaboklab(68.99% 0.1433 -0.1373)
OKLCHoklch(68.99% 0.198 316.2)
XYZxyz(44.9638, 29.5514, 82.6761)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6DEC #8FEC6D
analogous
#8A6DEC #CA6DEC #EC6DCF
triadic
#CA6DEC #ECCA6D #6DECCA
tetradic
#CA6DEC #EC8A6D #8FEC6D #6DCFEC
square
#CA6DEC #EC8A6D #8FEC6D #6DCFEC
split-complementary
#CA6DEC #CFEC6D #6DEC8A
monochromatic
#971AC5 #B637E5 #CA6DEC #DEA3F3 #F1D9FA

Accessibility & contrast

On white

3.04
#CA6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CA6DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6DEC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6DEC#FFFFFF#000000##000000
##CA6DEC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF0
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#C881A2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca6dec;
/* rgb */ color: rgb(202, 109, 236);
/* oklch */ color: oklch(69.0% 0.198 316.2);
Tailwind
colors: {
  custom: {
    50: '#dd9af2',
    500: '#ca6dec',
    950: '#000000',
  },
}
SCSS
$custom: #ca6dec;
$custom-light: #dd9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6dec",
  "rgb": {
    "r": 202,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 283.937,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68987,
    "c": 0.19844,
    "h": 316.2
  },
  "luminance": 0.2955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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