#CAA7FC#CAA7FC

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

Color values

HEX#CAA7FC
RGBrgb(202, 167, 252)
HSLhsl(265, 93%, 82%)
HSVhsv(265, 34%, 99%)
CMYKcmyk(19.8%, 33.7%, 0%, 1.2%)
CIE-LABlab(74.33, 29.16, -37.52)
CIE-LCHlch(74.33, 47.52, 307.85°)
OKLaboklab(79.02% 0.0663 -0.1037)
OKLCHoklch(79.02% 0.123 302.6)
XYZxyz(55.7428, 47.2223, 98.2547)
Luminance0.4722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAA7FC #D9FCA7
analogous
#A7AFFC #CAA7FC #F5A7FC
triadic
#CAA7FC #FCCAA7 #A7FCCA
tetradic
#CAA7FC #FCA7AF #D9FCA7 #A7FCF5
square
#CAA7FC #FCA7AF #D9FCA7 #A7FCF5
split-complementary
#CAA7FC #FCF5A7 #AFFCA7
monochromatic
#8331F8 #A66CFA #CAA7FC #EDE1FE #EDE1FE

Accessibility & contrast

On white

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

On black

10.44
#CAA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAA7FC
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAA7FC#FFFFFF#000000##000000
##CAA7FC1.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B6FF
Deuteranopia (green-blind)
#9BB7FA
Tritanopia (blue-blind)
#C2B4C6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #caa7fc;
/* rgb */ color: rgb(202, 167, 252);
/* oklch */ color: oklch(79.0% 0.123 302.6);
Tailwind
colors: {
  custom: {
    50: '#dbc1fd',
    500: '#caa7fc',
    950: '#000000',
  },
}
SCSS
$custom: #caa7fc;
$custom-light: #dbc1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#caa7fc",
  "rgb": {
    "r": 202,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 264.706,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.79022,
    "c": 0.12312,
    "h": 302.6
  },
  "luminance": 0.47222
}

Semantic roles & 50–950 ramp

primary
#CAA7FC
secondary
#E8F6D5
accent
#E60087
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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