#CAA7FB#CAA7FB

#CAA7FB is a light, vivid violet. Relative luminance 0.472; OKLCH L 79.0% C 0.122 H 302.9°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CAA7FB
RGBrgb(202, 167, 251)
HSLhsl(265, 91%, 82%)
HSVhsv(265, 33%, 98%)
CMYKcmyk(19.5%, 33.5%, 0%, 1.6%)
CIE-LABlab(74.29, 28.94, -37.05)
CIE-LCHlch(74.29, 47.01, 308.00°)
OKLaboklab(78.98% 0.0661 -0.1024)
OKLCHoklch(78.98% 0.122 302.9)
XYZxyz(55.5848, 47.1591, 97.4224)
Luminance0.4716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7FB #D8FBA7
analogous
#A7AEFB #CAA7FB #F4A7FB
triadic
#CAA7FB #FBCAA7 #A7FBCA
tetradic
#CAA7FB #FBA7AE #D8FBA7 #A7FBF4
square
#CAA7FB #FBA7AE #D8FBA7 #A7FBF4
split-complementary
#CAA7FB #FBF4A7 #AEFBA7
monochromatic
#8332F6 #A76CF8 #CAA7FB #EDE2FE #EDE2FE

Accessibility & contrast

On white

2.01
#CAA7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#CAA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7FB
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7FB#FFFFFF#000000##000000
##CAA7FB1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FE
Deuteranopia (green-blind)
#9BB7F9
Tritanopia (blue-blind)
#C2B4C6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #caa7fb;
/* rgb */ color: rgb(202, 167, 251);
/* oklch */ color: oklch(79.0% 0.122 302.9);
Tailwind
colors: {
  custom: {
    50: '#dbc1fd',
    500: '#caa7fb',
    950: '#000000',
  },
}
SCSS
$custom: #caa7fb;
$custom-light: #dbc1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7fb",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 265,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.78978,
    "c": 0.12186,
    "h": 302.9
  },
  "luminance": 0.47159
}

Semantic roles & 50–950 ramp

primary
#CAA7FB
secondary
#E8F6D5
accent
#E60086
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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