#CA6FEB#CA6FEB

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

Color values

HEX#CA6FEB
RGBrgb(202, 111, 235)
HSLhsl(284, 76%, 68%)
HSVhsv(284, 53%, 92%)
CMYKcmyk(14%, 52.8%, 0%, 7.8%)
CIE-LABlab(61.59, 55.36, -48.18)
CIE-LCHlch(61.59, 73.39, 318.97°)
OKLaboklab(69.21% 0.1406 -0.1342)
OKLCHoklch(69.21% 0.194 316.3)
XYZxyz(45.0347, 29.9251, 81.9850)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FEB #90EB6F
analogous
#8C6FEB #CA6FEB #EB6FCE
triadic
#CA6FEB #EBCA6F #6FEBCA
tetradic
#CA6FEB #EB8C6F #90EB6F #6FCEEB
square
#CA6FEB #EB8C6F #90EB6F #6FCEEB
split-complementary
#CA6FEB #CEEB6F #6FEB8C
monochromatic
#971BC4 #B639E4 #CA6FEB #DEA5F2 #F2DAFA

Accessibility & contrast

On white

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

On black

6.98
#CA6FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6FEB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FEB#FFFFFF#000000##000000
##CA6FEB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FEF
Deuteranopia (green-blind)
#7197E8
Tritanopia (blue-blind)
#C882A3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca6feb;
/* rgb */ color: rgb(202, 111, 235);
/* oklch */ color: oklch(69.2% 0.194 316.3);
Tailwind
colors: {
  custom: {
    50: '#dd9cf2',
    500: '#ca6feb',
    950: '#000000',
  },
}
SCSS
$custom: #ca6feb;
$custom-light: #dd9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6feb",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 284.032,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69209,
    "c": 0.19436,
    "h": 316.3
  },
  "luminance": 0.29924
}

Semantic roles & 50–950 ramp

primary
#CA6FEB
secondary
#D2EEC8
accent
#D80E43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA6FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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