#CAAAFF#CAAAFF

#CAAAFF is a light, vivid violet. Relative luminance 0.485; OKLCH L 79.7% C 0.122 H 301.0°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CAAAFF
RGBrgb(202, 170, 255)
HSLhsl(263, 100%, 83%)
HSVhsv(263, 33%, 100%)
CMYKcmyk(20.8%, 33.3%, 0%, 0%)
CIE-LABlab(75.16, 28.19, -37.86)
CIE-LCHlch(75.16, 47.20, 306.67°)
OKLaboklab(79.69% 0.0629 -0.1047)
OKLCHoklch(79.69% 0.122 301)
XYZxyz(56.7780, 48.5259, 100.9636)
Luminance0.4853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAAFF #DFFFAA
analogous
#AAB4FF #CAAAFF #F4AAFF
triadic
#CAAAFF #FFCAAA #AAFFCA
tetradic
#CAAAFF #FFAAB4 #DFFFAA #AAFFF4
square
#CAAAFF #FFAAB4 #DFFFAA #AAFFF4
split-complementary
#CAAAFF #FFF4AA #B4FFAA
monochromatic
#7E30FF #A46DFF #CAAAFF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.96
#CAAAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CAAAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAAFF
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAAFF#FFFFFF#000000##000000
##CAAAFF1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B9FF
Deuteranopia (green-blind)
#9DB9FD
Tritanopia (blue-blind)
#C1B7C9
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caaaff;
/* rgb */ color: rgb(202, 170, 255);
/* oklch */ color: oklch(79.7% 0.122 301.0);
Tailwind
colors: {
  custom: {
    50: '#dbc3ff',
    500: '#caaaff',
    950: '#000000',
  },
}
SCSS
$custom: #caaaff;
$custom-light: #dbc3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#caaaff",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 255
  },
  "hsl": {
    "h": 262.588,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.7969,
    "c": 0.12214,
    "h": 301
  },
  "luminance": 0.48526
}

Semantic roles & 50–950 ramp

primary
#CAAAFF
secondary
#EAF7D4
accent
#E6008F
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CAAAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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