#CAAFFB#CAAFFB

#CAAFFB is a light, moderate violet. Relative luminance 0.502; OKLCH L 80.4% C 0.109 H 300.3°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#CAAFFB
RGBrgb(202, 175, 251)
HSLhsl(261, 90%, 84%)
HSVhsv(261, 30%, 98%)
CMYKcmyk(19.5%, 30.3%, 0%, 1.6%)
CIE-LABlab(76.18, 24.55, -34.12)
CIE-LCHlch(76.18, 42.04, 305.74°)
OKLaboklab(80.42% 0.0549 -0.094)
OKLCHoklch(80.42% 0.109 300.3)
XYZxyz(57.0960, 50.1814, 97.9261)
Luminance0.5018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAFFB #E0FBAF
analogous
#AFBAFB #CAAFFB #F0AFFB
triadic
#CAAFFB #FBCAAF #AFFBCA
tetradic
#CAAFFB #FBAFBA #E0FBAF #AFFBF0
square
#CAAFFB #FBAFBA #E0FBAF #AFFBF0
split-complementary
#CAAFFB #FBF0AF #BAFBAF
monochromatic
#7D3AF5 #A375F8 #CAAFFB #ECE2FE #ECE2FE

Accessibility & contrast

On white

1.90
#CAAFFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#CAAFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAFFB
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAFFB#FFFFFF#000000##000000
##CAAFFB1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBCFE
Deuteranopia (green-blind)
#A3BBF9
Tritanopia (blue-blind)
#C1BBCA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #caaffb;
/* rgb */ color: rgb(202, 175, 251);
/* oklch */ color: oklch(80.4% 0.109 300.3);
Tailwind
colors: {
  custom: {
    50: '#dbc7fd',
    500: '#caaffb',
    950: '#000000',
  },
}
SCSS
$custom: #caaffb;
$custom-light: #dbc7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#caaffb",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 261.316,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80423,
    "c": 0.10891,
    "h": 300.3
  },
  "luminance": 0.50182
}

Semantic roles & 50–950 ramp

primary
#CAAFFB
secondary
#B7DF6F
accent
#E60094
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CAAFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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