#CA6FE7#CA6FE7

#CA6FE7 is a light, vivid purple. Relative luminance 0.297; OKLCH L 69.0% C 0.190 H 317.5°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CA6FE7
RGBrgb(202, 111, 231)
HSLhsl(286, 71%, 67%)
HSVhsv(286, 52%, 91%)
CMYKcmyk(12.6%, 51.9%, 0%, 9.4%)
CIE-LABlab(61.39, 54.56, -46.26)
CIE-LCHlch(61.39, 71.53, 319.70°)
OKLaboklab(69% 0.1402 -0.1286)
OKLCHoklch(69% 0.19 317.5)
XYZxyz(44.4633, 29.6965, 78.9756)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FE7 #8CE76F
analogous
#8E6FE7 #CA6FE7 #E76FC8
triadic
#CA6FE7 #E7CA6F #6FE7CA
tetradic
#CA6FE7 #E78E6F #8CE76F #6FC8E7
square
#CA6FE7 #E78E6F #8CE76F #6FC8E7
split-complementary
#CA6FE7 #C8E76F #6FE78E
monochromatic
#961FBC #B73BDE #CA6FE7 #DDA3F0 #F1D8F8

Accessibility & contrast

On white

3.03
#CA6FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CA6FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6FE7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FE7#FFFFFF#000000##000000
##CA6FE71.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEB
Deuteranopia (green-blind)
#7397E4
Tritanopia (blue-blind)
#C981A1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca6fe7;
/* rgb */ color: rgb(202, 111, 231);
/* oklch */ color: oklch(69.0% 0.190 317.5);
Tailwind
colors: {
  custom: {
    50: '#dc9cef',
    500: '#ca6fe7',
    950: '#000000',
  },
}
SCSS
$custom: #ca6fe7;
$custom-light: #dc9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6fe7",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 285.5,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68999,
    "c": 0.19029,
    "h": 317.5
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

primary
#CA6FE7
secondary
#CFECC6
accent
#D31241
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA6FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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