#CAAAF4#CAAAF4

#CAAAF4 is a light, moderate violet. Relative luminance 0.478; OKLCH L 79.2% C 0.108 H 303.8°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CAAAF4
RGBrgb(202, 170, 244)
HSLhsl(266, 77%, 81%)
HSVhsv(266, 30%, 96%)
CMYKcmyk(17.2%, 30.3%, 0%, 4.3%)
CIE-LABlab(74.72, 25.76, -32.59)
CIE-LCHlch(74.72, 41.54, 308.32°)
OKLaboklab(79.22% 0.0601 -0.0897)
OKLCHoklch(79.22% 0.108 303.8)
XYZxyz(55.0577, 47.8378, 91.9035)
Luminance0.4784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAAF4 #D4F4AA
analogous
#AAAFF4 #CAAAF4 #EFAAF4
triadic
#CAAAF4 #F4CAAA #AAF4CA
tetradic
#CAAAF4 #F4AAAF #D4F4AA #AAF4EF
square
#CAAAF4 #F4AAAF #D4F4AA #AAF4EF
split-complementary
#CAAAF4 #F4EFAA #AFF4AA
monochromatic
#863EE6 #A874ED #CAAAF4 #ECE0FB #EEE4FB

Accessibility & contrast

On white

1.99
#CAAAF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.57
#CAAAF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAAF4
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAAF4#FFFFFF#000000##000000
##CAAAF41.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB7F7
Deuteranopia (green-blind)
#A1B8F2
Tritanopia (blue-blind)
#C4B5C5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caaaf4;
/* rgb */ color: rgb(202, 170, 244);
/* oklch */ color: oklch(79.2% 0.108 303.8);
Tailwind
colors: {
  custom: {
    50: '#dbc3f8',
    500: '#caaaf4',
    950: '#000000',
  },
}
SCSS
$custom: #caaaf4;
$custom-light: #dbc3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#caaaf4",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 244
  },
  "hsl": {
    "h": 265.946,
    "s": 77.083,
    "l": 81.176
  },
  "oklch": {
    "l": 0.79217,
    "c": 0.10797,
    "h": 303.8
  },
  "luminance": 0.47838
}

Semantic roles & 50–950 ramp

primary
#CAAAF4
secondary
#E7F3D8
accent
#D90C81
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAAAF4

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

Preview Lab → · Contrast checker → · Palette generator →

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