#CA6FE4#CA6FE4

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

Color values

HEX#CA6FE4
RGBrgb(202, 111, 228)
HSLhsl(287, 68%, 66%)
HSVhsv(287, 51%, 89%)
CMYKcmyk(11.4%, 51.3%, 0%, 10.6%)
CIE-LABlab(61.25, 53.96, -44.82)
CIE-LCHlch(61.25, 70.15, 320.29°)
OKLaboklab(68.84% 0.1399 -0.1245)
OKLCHoklch(68.84% 0.187 318.3)
XYZxyz(44.0433, 29.5285, 76.7633)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FE4 #89E46F
analogous
#906FE4 #CA6FE4 #E46FC4
triadic
#CA6FE4 #E4CA6F #6FE4CA
tetradic
#CA6FE4 #E4906F #89E46F #6FC4E4
square
#CA6FE4 #E4906F #89E46F #6FC4E4
split-complementary
#CA6FE4 #C4E46F #6FE490
monochromatic
#9522B6 #B73BDA #CA6FE4 #DDA3EE #F0D6F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA6FE4#FFFFFF#000000##000000
##CA6FE41.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)
#588EE8
Deuteranopia (green-blind)
#7597E1
Tritanopia (blue-blind)
#CA809F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca6fe4;
/* rgb */ color: rgb(202, 111, 228);
/* oklch */ color: oklch(68.8% 0.187 318.3);
Tailwind
colors: {
  custom: {
    50: '#dc9bed',
    500: '#ca6fe4',
    950: '#000000',
  },
}
SCSS
$custom: #ca6fe4;
$custom-light: #dc9bed;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6fe4",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 286.667,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68844,
    "c": 0.18726,
    "h": 318.3
  },
  "luminance": 0.29527
}

Semantic roles & 50–950 ramp

primary
#CA6FE4
secondary
#CDEAC4
accent
#D0153F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA6FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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