#CA6FEA#CA6FEA

#CA6FEA is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.2% C 0.193 H 316.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#CA6FEA
RGBrgb(202, 111, 234)
HSLhsl(284, 75%, 68%)
HSVhsv(284, 53%, 92%)
CMYKcmyk(13.7%, 52.6%, 0%, 8.2%)
CIE-LABlab(61.54, 55.16, -47.70)
CIE-LCHlch(61.54, 72.92, 319.15°)
OKLaboklab(69.16% 0.1405 -0.1328)
OKLCHoklch(69.16% 0.193 316.6)
XYZxyz(44.8907, 29.8674, 81.2263)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FEA #8FEA6F
analogous
#8C6FEA #CA6FEA #EA6FCD
triadic
#CA6FEA #EACA6F #6FEACA
tetradic
#CA6FEA #EA8C6F #8FEA6F #6FCDEA
square
#CA6FEA #EA8C6F #8FEA6F #6FCDEA
split-complementary
#CA6FEA #CDEA6F #6FEA8C
monochromatic
#971CC2 #B63AE2 #CA6FEA #DEA4F2 #F1DAFA

Accessibility & contrast

On white

3.01
#CA6FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#CA6FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6FEA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FEA#FFFFFF#000000##000000
##CA6FEA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#7197E7
Tritanopia (blue-blind)
#C982A2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca6fea;
/* rgb */ color: rgb(202, 111, 234);
/* oklch */ color: oklch(69.2% 0.193 316.6);
Tailwind
colors: {
  custom: {
    50: '#dd9cf1',
    500: '#ca6fea',
    950: '#000000',
  },
}
SCSS
$custom: #ca6fea;
$custom-light: #dd9cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6fea",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 284.39,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69157,
    "c": 0.19334,
    "h": 316.6
  },
  "luminance": 0.29866
}

Semantic roles & 50–950 ramp

primary
#CA6FEA
secondary
#D1EDC7
accent
#D70F43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA6FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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