#CAAFE2#CAAFE2

#CAAFE2 is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.4% C 0.077 H 308.7°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#CAAFE2
RGBrgb(202, 175, 226)
HSLhsl(272, 47%, 79%)
HSVhsv(272, 23%, 89%)
CMYKcmyk(10.6%, 22.6%, 0%, 11.4%)
CIE-LABlab(75.27, 19.21, -21.99)
CIE-LCHlch(75.27, 29.20, 311.13°)
OKLaboklab(79.42% 0.0478 -0.0598)
OKLCHoklch(79.42% 0.077 308.7)
XYZxyz(53.4121, 48.7078, 78.5245)
Luminance0.4871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAFE2 #C7E2AF
analogous
#B0AFE2 #CAAFE2 #E2AFE0
triadic
#CAAFE2 #E2CAAF #AFE2CA
tetradic
#CAAFE2 #E2B0AF #C7E2AF #AFE0E2
square
#CAAFE2 #E2B0AF #C7E2AF #AFE0E2
split-complementary
#CAAFE2 #E0E2AF #AFE2B0
monochromatic
#8E55C1 #AC82D2 #CAAFE2 #E8DCF2 #F0E9F7

Accessibility & contrast

On white

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

On black

10.74
#CAAFE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAFE2
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAFE2#FFFFFF#000000##000000
##CAAFE21.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7B8E4
Deuteranopia (green-blind)
#ACBAE0
Tritanopia (blue-blind)
#C7B6C1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caafe2;
/* rgb */ color: rgb(202, 175, 226);
/* oklch */ color: oklch(79.4% 0.077 308.7);
Tailwind
colors: {
  custom: {
    50: '#dac7eb',
    500: '#caafe2',
    950: '#000000',
  },
}
SCSS
$custom: #caafe2;
$custom-light: #dac7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#caafe2",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 226
  },
  "hsl": {
    "h": 271.765,
    "s": 46.789,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79421,
    "c": 0.07656,
    "h": 308.7
  },
  "luminance": 0.48707
}

Semantic roles & 50–950 ramp

primary
#CAAFE2
secondary
#E5EEDD
accent
#BA2B6F
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CAAFE2

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

Preview Lab → · Contrast checker → · Palette generator →

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