#CA6FE1#CA6FE1

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

Color values

HEX#CA6FE1
RGBrgb(202, 111, 225)
HSLhsl(288, 66%, 66%)
HSVhsv(288, 51%, 88%)
CMYKcmyk(10.2%, 50.7%, 0%, 11.8%)
CIE-LABlab(61.10, 53.37, -43.37)
CIE-LCHlch(61.10, 68.77, 320.90°)
OKLaboklab(68.69% 0.1396 -0.1203)
OKLCHoklch(68.69% 0.184 319.2)
XYZxyz(43.6304, 29.3633, 74.5890)
Luminance0.2936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FE1 #86E16F
analogous
#916FE1 #CA6FE1 #E16FBF
triadic
#CA6FE1 #E1CA6F #6FE1CA
tetradic
#CA6FE1 #E1916F #86E16F #6FBFE1
square
#CA6FE1 #E1916F #86E16F #6FBFE1
split-complementary
#CA6FE1 #BFE16F #6FE191
monochromatic
#9525B1 #B73CD6 #CA6FE1 #DDA2EC #EFD4F6

Accessibility & contrast

On white

3.06
#CA6FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CA6FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6FE1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FE1#FFFFFF#000000##000000
##CA6FE11.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8DE5
Deuteranopia (green-blind)
#7697DE
Tritanopia (blue-blind)
#CB7F9E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca6fe1;
/* rgb */ color: rgb(202, 111, 225);
/* oklch */ color: oklch(68.7% 0.184 319.2);
Tailwind
colors: {
  custom: {
    50: '#dc9beb',
    500: '#ca6fe1',
    950: '#000000',
  },
}
SCSS
$custom: #ca6fe1;
$custom-light: #dc9beb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6fe1",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 225
  },
  "hsl": {
    "h": 287.895,
    "s": 65.517,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6869,
    "c": 0.18424,
    "h": 319.2
  },
  "luminance": 0.29362
}

Semantic roles & 50–950 ramp

primary
#CA6FE1
secondary
#CBE9C3
accent
#CD183D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CA6FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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