#CA6AFF#CA6AFF

#CA6AFF is a light, highly saturated violet. Relative luminance 0.301; OKLCH L 69.7% C 0.222 H 311.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CA6AFF
RGBrgb(202, 106, 255)
HSLhsl(279, 100%, 71%)
HSVhsv(279, 58%, 100%)
CMYKcmyk(20.8%, 58.4%, 0%, 0%)
CIE-LABlab(61.73, 61.91, -59.02)
CIE-LCHlch(61.73, 85.53, 316.37°)
OKLaboklab(69.65% 0.1478 -0.1658)
OKLCHoklch(69.65% 0.222 311.7)
XYZxyz(47.5579, 30.0857, 97.8902)
Luminance0.3009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6AFF #9FFF6A
analogous
#7F6AFF #CA6AFF #FF6AE9
triadic
#CA6AFF #FFCA6A #6AFFCA
tetradic
#CA6AFF #FF7F6A #9FFF6A #6AE9FF
square
#CA6AFF #FF7F6A #9FFF6A #6AE9FF
split-complementary
#CA6AFF #E9FF6A #6AFF7F
monochromatic
#9A00EF #B42DFF #CA6AFF #E0A7FF #F4E0FF

Accessibility & contrast

On white

2.99
#CA6AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CA6AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA6AFF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6AFF#FFFFFF#000000##000000
##CA6AFF1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3690FF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#C485AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ca6aff;
/* rgb */ color: rgb(202, 106, 255);
/* oklch */ color: oklch(69.7% 0.222 311.7);
Tailwind
colors: {
  custom: {
    50: '#dd99ff',
    500: '#ca6aff',
    950: '#000000',
  },
}
SCSS
$custom: #ca6aff;
$custom-light: #dd99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6aff",
  "rgb": {
    "r": 202,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 278.658,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69652,
    "c": 0.22213,
    "h": 311.7
  },
  "luminance": 0.30085
}

Semantic roles & 50–950 ramp

primary
#CA6AFF
secondary
#DDF6CE
accent
#E60052
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150E18
muted
#847E86

Preview Lab

Preview with #CA6AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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