#CAAFEC#CAAFEC

#CAAFEC is a light, moderate violet. Relative luminance 0.493; OKLCH L 79.8% C 0.089 H 304.7°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CAAFEC
RGBrgb(202, 175, 236)
HSLhsl(267, 62%, 81%)
HSVhsv(267, 26%, 93%)
CMYKcmyk(14.4%, 25.8%, 0%, 7.5%)
CIE-LABlab(75.62, 21.30, -26.88)
CIE-LCHlch(75.62, 34.29, 308.39°)
OKLaboklab(79.81% 0.0508 -0.0735)
OKLCHoklch(79.81% 0.089 304.7)
XYZxyz(54.8245, 49.2728, 85.9630)
Luminance0.4927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAFEC #D1ECAF
analogous
#AFB2EC #CAAFEC #E8AFEC
triadic
#CAAFEC #ECCAAF #AFECCA
tetradic
#CAAFEC #ECAFB2 #D1ECAF #AFECE8
square
#CAAFEC #ECAFB2 #D1ECAF #AFECE8
split-complementary
#CAAFEC #ECE8AF #B2ECAF
monochromatic
#884CD5 #A97EE0 #CAAFEC #EBE0F8 #EFE6F9

Accessibility & contrast

On white

1.93
#CAAFEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CAAFEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAFEC
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAFEC#FFFFFF#000000##000000
##CAAFEC1.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B9EF
Deuteranopia (green-blind)
#A9BAEA
Tritanopia (blue-blind)
#C5B8C4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #caafec;
/* rgb */ color: rgb(202, 175, 236);
/* oklch */ color: oklch(79.8% 0.089 304.7);
Tailwind
colors: {
  custom: {
    50: '#dac7f2',
    500: '#caafec',
    950: '#000000',
  },
}
SCSS
$custom: #caafec;
$custom-light: #dac7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#caafec",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 236
  },
  "hsl": {
    "h": 266.557,
    "s": 61.616,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79808,
    "c": 0.08936,
    "h": 304.7
  },
  "luminance": 0.49273
}

Semantic roles & 50–950 ramp

primary
#CAAFEC
secondary
#E7F0DB
accent
#C91C7D
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #CAAFEC

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

Preview Lab → · Contrast checker → · Palette generator →

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