#CAA5FC#CAA5FC

#CAA5FC is a light, vivid violet. Relative luminance 0.465; OKLCH L 78.7% C 0.126 H 303.2°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CAA5FC
RGBrgb(202, 165, 252)
HSLhsl(266, 94%, 82%)
HSVhsv(266, 35%, 99%)
CMYKcmyk(19.8%, 34.5%, 0%, 1.2%)
CIE-LABlab(73.87, 30.26, -38.25)
CIE-LCHlch(73.87, 48.77, 308.35°)
OKLaboklab(78.67% 0.0691 -0.1058)
OKLCHoklch(78.67% 0.126 303.2)
XYZxyz(55.3793, 46.4952, 98.1335)
Luminance0.4649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA5FC #D7FCA5
analogous
#A5ACFC #CAA5FC #F5A5FC
triadic
#CAA5FC #FCCAA5 #A5FCCA
tetradic
#CAA5FC #FCA5AC #D7FCA5 #A5FCF5
square
#CAA5FC #FCA5AC #D7FCA5 #A5FCF5
split-complementary
#CAA5FC #FCF5A5 #ACFCA5
monochromatic
#842FF8 #A76AFA #CAA5FC #EDE0FE #EEE1FE

Accessibility & contrast

On white

2.04
#CAA5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CAA5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA5FC
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA5FC#FFFFFF#000000##000000
##CAA5FC1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B5FF
Deuteranopia (green-blind)
#99B5FA
Tritanopia (blue-blind)
#C2B2C5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #caa5fc;
/* rgb */ color: rgb(202, 165, 252);
/* oklch */ color: oklch(78.7% 0.126 303.2);
Tailwind
colors: {
  custom: {
    50: '#dbc0fd',
    500: '#caa5fc',
    950: '#000000',
  },
}
SCSS
$custom: #caa5fc;
$custom-light: #dbc0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#caa5fc",
  "rgb": {
    "r": 202,
    "g": 165,
    "b": 252
  },
  "hsl": {
    "h": 265.517,
    "s": 93.548,
    "l": 81.765
  },
  "oklch": {
    "l": 0.78667,
    "c": 0.12638,
    "h": 303.2
  },
  "luminance": 0.46495
}

Semantic roles & 50–950 ramp

primary
#CAA5FC
secondary
#E8F6D5
accent
#E60084
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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