#CA6FC7#CA6FC7

#CA6FC7 is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.4% C 0.159 H 328.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CA6FC7
RGBrgb(202, 111, 199)
HSLhsl(302, 46%, 61%)
HSVhsv(302, 45%, 79%)
CMYKcmyk(0%, 45%, 1.5%, 20.8%)
CIE-LABlab(59.93, 48.48, -30.56)
CIE-LCHlch(59.93, 57.31, 327.77°)
OKLaboklab(67.44% 0.1355 -0.0835)
OKLCHoklch(67.44% 0.159 328.4)
XYZxyz(40.3497, 28.0511, 57.3108)
Luminance0.2805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6FC7 #6FCA72
analogous
#A06FCA #CA6FC7 #CA6F9A
triadic
#CA6FC7 #C7CA6F #6FC7CA
tetradic
#CA6FC7 #CAA06F #6FCA72 #6F9ACA
square
#CA6FC7 #CAA06F #6FCA72 #6F9ACA
split-complementary
#CA6FC7 #9ACA6F #6FCAA0
monochromatic
#8B3388 #B844B4 #CA6FC7 #DA9CD8 #EBC8EA

Accessibility & contrast

On white

3.18
#CA6FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#CA6FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6FC7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6FC7#FFFFFF#000000##000000
##CA6FC71.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6989CA
Deuteranopia (green-blind)
#8295C4
Tritanopia (blue-blind)
#CF7792
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ca6fc7;
/* rgb */ color: rgb(202, 111, 199);
/* oklch */ color: oklch(67.4% 0.159 328.4);
Tailwind
colors: {
  custom: {
    50: '#dc9bd8',
    500: '#ca6fc7',
    950: '#000000',
  },
}
SCSS
$custom: #ca6fc7;
$custom-light: #dc9bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6fc7",
  "rgb": {
    "r": 202,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 301.978,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67444,
    "c": 0.15915,
    "h": 328.4
  },
  "luminance": 0.28049
}

Semantic roles & 50–950 ramp

primary
#CA6FC7
secondary
#B9DBBB
accent
#B9312C
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CA6FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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