#CA6FEC#CA6FEC

#CA6FEC is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.3% C 0.195 H 316.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CA6FEC
RGBrgb(202, 111, 236)
HSLhsl(284, 77%, 68%)
HSVhsv(284, 53%, 93%)
CMYKcmyk(14.4%, 53%, 0%, 7.5%)
CIE-LABlab(61.64, 55.56, -48.65)
CIE-LCHlch(61.64, 73.85, 318.79°)
OKLaboklab(69.26% 0.1407 -0.1356)
OKLCHoklch(69.26% 0.195 316.1)
XYZxyz(45.1796, 29.9830, 82.7480)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FEC #91EC6F
analogous
#8B6FEC #CA6FEC #EC6FCF
triadic
#CA6FEC #ECCA6F #6FECCA
tetradic
#CA6FEC #EC8B6F #91EC6F #6FCFEC
square
#CA6FEC #EC8B6F #91EC6F #6FCFEC
split-complementary
#CA6FEC #CFEC6F #6FEC8B
monochromatic
#981AC6 #B639E5 #CA6FEC #DEA5F3 #F2DBFA

Accessibility & contrast

On white

3.00
#CA6FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CA6FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA6FEC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FEC#FFFFFF#000000##000000
##CA6FEC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#7098E9
Tritanopia (blue-blind)
#C883A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca6fec;
/* rgb */ color: rgb(202, 111, 236);
/* oklch */ color: oklch(69.3% 0.195 316.1);
Tailwind
colors: {
  custom: {
    50: '#dd9cf2',
    500: '#ca6fec',
    950: '#000000',
  },
}
SCSS
$custom: #ca6fec;
$custom-light: #dd9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6fec",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 283.68,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69263,
    "c": 0.19538,
    "h": 316.1
  },
  "luminance": 0.29982
}

Semantic roles & 50–950 ramp

primary
#CA6FEC
secondary
#D3EFC8
accent
#D90D44
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA6FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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