#CA6AF7#CA6AF7

#CA6AF7 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.2% C 0.214 H 313.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CA6AF7
RGBrgb(202, 106, 247)
HSLhsl(281, 90%, 69%)
HSVhsv(281, 57%, 97%)
CMYKcmyk(18.2%, 57.1%, 0%, 3.1%)
CIE-LABlab(61.29, 60.25, -55.30)
CIE-LCHlch(61.29, 81.78, 317.45°)
OKLaboklab(69.19% 0.1477 -0.1549)
OKLCHoklch(69.19% 0.214 313.6)
XYZxyz(46.2968, 29.5813, 91.2486)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6AF7 #97F76A
analogous
#846AF7 #CA6AF7 #F76ADE
triadic
#CA6AF7 #F7CA6A #6AF7CA
tetradic
#CA6AF7 #F7846A #97F76A #6ADEF7
square
#CA6AF7 #F7846A #97F76A #6ADEF7
split-complementary
#CA6AF7 #DEF76A #6AF784
monochromatic
#990CDB #B530F4 #CA6AF7 #DFA4FA #F3DEFD

Accessibility & contrast

On white

3.04
#CA6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#CA6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6AF7
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6AF7#FFFFFF#000000##000000
##CA6AF71.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFC
Deuteranopia (green-blind)
#6596F3
Tritanopia (blue-blind)
#C683A7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ca6af7;
/* rgb */ color: rgb(202, 106, 247);
/* oklch */ color: oklch(69.2% 0.214 313.6);
Tailwind
colors: {
  custom: {
    50: '#dd99fa',
    500: '#ca6af7',
    950: '#000000',
  },
}
SCSS
$custom: #ca6af7;
$custom-light: #dd99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6af7",
  "rgb": {
    "r": 202,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 280.851,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69192,
    "c": 0.21403,
    "h": 313.6
  },
  "luminance": 0.2958
}

Semantic roles & 50–950 ramp

primary
#CA6AF7
secondary
#D7F3CA
accent
#E60049
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #CA6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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