#CA6FE2#CA6FE2

#CA6FE2 is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.7% C 0.185 H 318.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#CA6FE2
RGBrgb(202, 111, 226)
HSLhsl(287, 66%, 66%)
HSVhsv(287, 51%, 89%)
CMYKcmyk(10.6%, 50.9%, 0%, 11.4%)
CIE-LABlab(61.15, 53.57, -43.86)
CIE-LCHlch(61.15, 69.23, 320.69°)
OKLaboklab(68.74% 0.1397 -0.1217)
OKLCHoklch(68.74% 0.185 318.9)
XYZxyz(43.7672, 29.4181, 75.3095)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FE2 #87E26F
analogous
#906FE2 #CA6FE2 #E26FC0
triadic
#CA6FE2 #E2CA6F #6FE2CA
tetradic
#CA6FE2 #E2906F #87E26F #6FC0E2
square
#CA6FE2 #E2906F #87E26F #6FC0E2
split-complementary
#CA6FE2 #C0E26F #6FE290
monochromatic
#9524B3 #B73CD8 #CA6FE2 #DDA2EC #EFD5F7

Accessibility & contrast

On white

3.05
#CA6FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#CA6FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6FE2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FE2#FFFFFF#000000##000000
##CA6FE21.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8DE6
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#CA7F9E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca6fe2;
/* rgb */ color: rgb(202, 111, 226);
/* oklch */ color: oklch(68.7% 0.185 318.9);
Tailwind
colors: {
  custom: {
    50: '#dc9beb',
    500: '#ca6fe2',
    950: '#000000',
  },
}
SCSS
$custom: #ca6fe2;
$custom-light: #dc9beb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6fe2",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 287.478,
    "s": 66.474,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68741,
    "c": 0.18525,
    "h": 318.9
  },
  "luminance": 0.29416
}

Semantic roles & 50–950 ramp

primary
#CA6FE2
secondary
#CBE9C4
accent
#CE173D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA6FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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