#CAA8FC#CAA8FC

#CAA8FC is a light, vivid violet. Relative luminance 0.476; OKLCH L 79.2% C 0.122 H 302.3°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CAA8FC
RGBrgb(202, 168, 252)
HSLhsl(264, 93%, 82%)
HSVhsv(264, 33%, 99%)
CMYKcmyk(19.8%, 33.3%, 0%, 1.2%)
CIE-LABlab(74.57, 28.61, -37.16)
CIE-LCHlch(74.57, 46.90, 307.60°)
OKLaboklab(79.2% 0.0649 -0.1027)
OKLCHoklch(79.2% 0.122 302.3)
XYZxyz(55.9268, 47.5901, 98.3160)
Luminance0.4759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA8FC #DAFCA8
analogous
#A8B0FC #CAA8FC #F4A8FC
triadic
#CAA8FC #FCCAA8 #A8FCCA
tetradic
#CAA8FC #FCA8B0 #DAFCA8 #A8FCF4
square
#CAA8FC #FCA8B0 #DAFCA8 #A8FCF4
split-complementary
#CAA8FC #FCF4A8 #B0FCA8
monochromatic
#8232F8 #A66DFA #CAA8FC #EDE1FE #EDE1FE

Accessibility & contrast

On white

2.00
#CAA8FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CAA8FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA8FC
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA8FC#FFFFFF#000000##000000
##CAA8FC1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B7FF
Deuteranopia (green-blind)
#9CB7FA
Tritanopia (blue-blind)
#C2B5C7
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #caa8fc;
/* rgb */ color: rgb(202, 168, 252);
/* oklch */ color: oklch(79.2% 0.122 302.3);
Tailwind
colors: {
  custom: {
    50: '#dbc2fd',
    500: '#caa8fc',
    950: '#000000',
  },
}
SCSS
$custom: #caa8fc;
$custom-light: #dbc2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#caa8fc",
  "rgb": {
    "r": 202,
    "g": 168,
    "b": 252
  },
  "hsl": {
    "h": 264.286,
    "s": 93.333,
    "l": 82.353
  },
  "oklch": {
    "l": 0.792,
    "c": 0.12151,
    "h": 302.3
  },
  "luminance": 0.4759
}

Semantic roles & 50–950 ramp

primary
#CAA8FC
secondary
#E9F6D5
accent
#E60089
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA8FC

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

Preview Lab → · Contrast checker → · Palette generator →

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