#CAAFEB#CAAFEB

#CAAFEB is a light, moderate violet. Relative luminance 0.492; OKLCH L 79.8% C 0.088 H 305.0°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#CAAFEB
RGBrgb(202, 175, 235)
HSLhsl(267, 60%, 80%)
HSVhsv(267, 26%, 92%)
CMYKcmyk(14%, 25.5%, 0%, 7.8%)
CIE-LABlab(75.58, 21.08, -26.39)
CIE-LCHlch(75.58, 33.78, 308.62°)
OKLaboklab(79.77% 0.0505 -0.0721)
OKLCHoklch(79.77% 0.088 305)
XYZxyz(54.6796, 49.2148, 85.1999)
Luminance0.4921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAFEB #D0EBAF
analogous
#AFB2EB #CAAFEB #E8AFEB
triadic
#CAAFEB #EBCAAF #AFEBCA
tetradic
#CAAFEB #EBAFB2 #D0EBAF #AFEBE8
square
#CAAFEB #EBAFB2 #D0EBAF #AFEBE8
split-complementary
#CAAFEB #EBE8AF #B2EBAF
monochromatic
#894DD3 #AA7EDF #CAAFEB #EAE0F7 #EFE7F9

Accessibility & contrast

On white

1.94
#CAAFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#CAAFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAFEB
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAFEB#FFFFFF#000000##000000
##CAAFEB1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B9EE
Deuteranopia (green-blind)
#A9BAE9
Tritanopia (blue-blind)
#C5B7C4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #caafeb;
/* rgb */ color: rgb(202, 175, 235);
/* oklch */ color: oklch(79.8% 0.088 305.0);
Tailwind
colors: {
  custom: {
    50: '#dac7f1',
    500: '#caafeb',
    950: '#000000',
  },
}
SCSS
$custom: #caafeb;
$custom-light: #dac7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#caafeb",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 267,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79769,
    "c": 0.08807,
    "h": 305
  },
  "luminance": 0.49215
}

Semantic roles & 50–950 ramp

primary
#CAAFEB
secondary
#E7F0DB
accent
#C81E7B
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CAAFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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