#CA6AFA#CA6AFA

#CA6AFA is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.4% C 0.217 H 312.9°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CA6AFA
RGBrgb(202, 106, 250)
HSLhsl(280, 94%, 70%)
HSVhsv(280, 58%, 98%)
CMYKcmyk(19.2%, 57.6%, 0%, 2%)
CIE-LABlab(61.45, 60.87, -56.70)
CIE-LCHlch(61.45, 83.19, 317.03°)
OKLaboklab(69.36% 0.1477 -0.159)
OKLCHoklch(69.36% 0.217 312.9)
XYZxyz(46.7635, 29.7680, 93.7063)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6AFA #9AFA6A
analogous
#826AFA #CA6AFA #FA6AE2
triadic
#CA6AFA #FACA6A #6AFACA
tetradic
#CA6AFA #FA826A #9AFA6A #6AE2FA
square
#CA6AFA #FA826A #9AFA6A #6AE2FA
split-complementary
#CA6AFA #E2FA6A #6AFA82
monochromatic
#9908E2 #B52FF8 #CA6AFA #DFA5FC #F4E0FE

Accessibility & contrast

On white

3.02
#CA6AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CA6AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6AFA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6AFA#FFFFFF#000000##000000
##CA6AFA1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFF
Deuteranopia (green-blind)
#6297F6
Tritanopia (blue-blind)
#C584A8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca6afa;
/* rgb */ color: rgb(202, 106, 250);
/* oklch */ color: oklch(69.4% 0.217 312.9);
Tailwind
colors: {
  custom: {
    50: '#dd99fc',
    500: '#ca6afa',
    950: '#000000',
  },
}
SCSS
$custom: #ca6afa;
$custom-light: #dd99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6afa",
  "rgb": {
    "r": 202,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 280,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69363,
    "c": 0.21706,
    "h": 312.9
  },
  "luminance": 0.29767
}

Semantic roles & 50–950 ramp

primary
#CA6AFA
secondary
#D9F4CC
accent
#E6004C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #CA6AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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