#CAAFE4#CAAFE4

#CAAFE4 is a light, moderate violet. Relative luminance 0.488; OKLCH L 79.5% C 0.079 H 307.8°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CAAFE4
RGBrgb(202, 175, 228)
HSLhsl(271, 50%, 79%)
HSVhsv(271, 23%, 89%)
CMYKcmyk(11.4%, 23.2%, 0%, 10.6%)
CIE-LABlab(75.34, 19.62, -22.97)
CIE-LCHlch(75.34, 30.21, 310.49°)
OKLaboklab(79.5% 0.0484 -0.0625)
OKLCHoklch(79.5% 0.079 307.8)
XYZxyz(53.6881, 48.8183, 79.9782)
Luminance0.4882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAFE4 #C9E4AF
analogous
#B0AFE4 #CAAFE4 #E4AFE4
triadic
#CAAFE4 #E4CAAF #AFE4CA
tetradic
#CAAFE4 #E4B0AF #C9E4AF #AFE4E4
square
#CAAFE4 #E4B0AF #C9E4AF #AFE4E4
split-complementary
#CAAFE4 #E4E4AF #AFE4B0
monochromatic
#8D53C5 #AC81D5 #CAAFE4 #E8DDF3 #F0E8F7

Accessibility & contrast

On white

1.95
#CAAFE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#CAAFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAFE4
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAFE4#FFFFFF#000000##000000
##CAAFE41.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B8E6
Deuteranopia (green-blind)
#ABBAE2
Tritanopia (blue-blind)
#C7B6C1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #caafe4;
/* rgb */ color: rgb(202, 175, 228);
/* oklch */ color: oklch(79.5% 0.079 307.8);
Tailwind
colors: {
  custom: {
    50: '#dac7ec',
    500: '#caafe4',
    950: '#000000',
  },
}
SCSS
$custom: #caafe4;
$custom-light: #dac7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#caafe4",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 228
  },
  "hsl": {
    "h": 270.566,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79497,
    "c": 0.0791,
    "h": 307.8
  },
  "luminance": 0.48818
}

Semantic roles & 50–950 ramp

primary
#CAAFE4
secondary
#E5EEDD
accent
#BD2971
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CAAFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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