#CA6FEF#CA6FEF

#CA6FEF is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.198 H 315.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CA6FEF
RGBrgb(202, 111, 239)
HSLhsl(283, 80%, 69%)
HSVhsv(283, 54%, 94%)
CMYKcmyk(15.5%, 53.6%, 0%, 6.3%)
CIE-LABlab(61.79, 56.17, -50.08)
CIE-LCHlch(61.79, 75.25, 318.28°)
OKLaboklab(69.42% 0.1409 -0.1397)
OKLCHoklch(69.42% 0.198 315.2)
XYZxyz(45.6191, 30.1588, 85.0628)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FEF #94EF6F
analogous
#8A6FEF #CA6FEF #EF6FD4
triadic
#CA6FEF #EFCA6F #6FEFCA
tetradic
#CA6FEF #EF8A6F #94EF6F #6FD4EF
square
#CA6FEF #EF8A6F #94EF6F #6FD4EF
split-complementary
#CA6FEF #D4EF6F #6FEF8A
monochromatic
#9817CD #B638E9 #CA6FEF #DEA6F5 #F3DDFB

Accessibility & contrast

On white

2.99
#CA6FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CA6FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA6FEF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FEF#FFFFFF#000000##000000
##CA6FEF1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5090F3
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#C884A5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca6fef;
/* rgb */ color: rgb(202, 111, 239);
/* oklch */ color: oklch(69.4% 0.198 315.2);
Tailwind
colors: {
  custom: {
    50: '#dd9cf5',
    500: '#ca6fef',
    950: '#000000',
  },
}
SCSS
$custom: #ca6fef;
$custom-light: #dd9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6fef",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 282.656,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69423,
    "c": 0.19845,
    "h": 315.2
  },
  "luminance": 0.30157
}

Semantic roles & 50–950 ramp

primary
#CA6FEF
secondary
#D5F0CA
accent
#DC0946
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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