#CAA6FC#CAA6FC

#CAA6FC is a light, vivid violet. Relative luminance 0.469; OKLCH L 78.8% C 0.125 H 302.9°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#CAA6FC
RGBrgb(202, 166, 252)
HSLhsl(265, 93%, 82%)
HSVhsv(265, 34%, 99%)
CMYKcmyk(19.8%, 34.1%, 0%, 1.2%)
CIE-LABlab(74.10, 29.71, -37.89)
CIE-LCHlch(74.10, 48.15, 308.10°)
OKLaboklab(78.84% 0.0677 -0.1048)
OKLCHoklch(78.84% 0.125 302.9)
XYZxyz(55.5604, 46.8573, 98.1939)
Luminance0.4686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA6FC #D8FCA6
analogous
#A6ADFC #CAA6FC #F5A6FC
triadic
#CAA6FC #FCCAA6 #A6FCCA
tetradic
#CAA6FC #FCA6AD #D8FCA6 #A6FCF5
square
#CAA6FC #FCA6AD #D8FCA6 #A6FCF5
split-complementary
#CAA6FC #FCF5A6 #ADFCA6
monochromatic
#8330F8 #A76BFA #CAA6FC #EDE1FE #EDE1FE

Accessibility & contrast

On white

2.02
#CAA6FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.37
#CAA6FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA6FC
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA6FC#FFFFFF#000000##000000
##CAA6FC1.002.0210.3710.37
#FFFFFF2.021.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#C2B3C6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa6fc;
/* rgb */ color: rgb(202, 166, 252);
/* oklch */ color: oklch(78.8% 0.125 302.9);
Tailwind
colors: {
  custom: {
    50: '#dbc0fd',
    500: '#caa6fc',
    950: '#000000',
  },
}
SCSS
$custom: #caa6fc;
$custom-light: #dbc0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#caa6fc",
  "rgb": {
    "r": 202,
    "g": 166,
    "b": 252
  },
  "hsl": {
    "h": 265.116,
    "s": 93.478,
    "l": 81.961
  },
  "oklch": {
    "l": 0.78844,
    "c": 0.12476,
    "h": 302.9
  },
  "luminance": 0.46857
}

Semantic roles & 50–950 ramp

primary
#CAA6FC
secondary
#E8F6D5
accent
#E60085
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA6FC

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

Preview Lab → · Contrast checker → · Palette generator →

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