#CAAFEF#CAAFEF

#CAAFEF is a light, moderate violet. Relative luminance 0.494; OKLCH L 79.9% C 0.093 H 303.7°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CAAFEF
RGBrgb(202, 175, 239)
HSLhsl(265, 67%, 81%)
HSVhsv(265, 27%, 94%)
CMYKcmyk(15.5%, 26.8%, 0%, 6.3%)
CIE-LABlab(75.73, 21.94, -28.34)
CIE-LCHlch(75.73, 35.84, 307.74°)
OKLaboklab(79.93% 0.0517 -0.0776)
OKLCHoklch(79.93% 0.093 303.7)
XYZxyz(55.2640, 49.4486, 88.2777)
Luminance0.4945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAFEF #D4EFAF
analogous
#AFB4EF #CAAFEF #EAAFEF
triadic
#CAAFEF #EFCAAF #AFEFCA
tetradic
#CAAFEF #EFAFB4 #D4EFAF #AFEFEA
square
#CAAFEF #EFAFB4 #D4EFAF #AFEFEA
split-complementary
#CAAFEF #EFEAAF #B4EFAF
monochromatic
#8649DB #A87CE5 #CAAFEF #ECE2F9 #EEE5FA

Accessibility & contrast

On white

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

On black

10.89
#CAAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAFEF
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAFEF#FFFFFF#000000##000000
##CAAFEF1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BAF2
Deuteranopia (green-blind)
#A8BBED
Tritanopia (blue-blind)
#C4B8C5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #caafef;
/* rgb */ color: rgb(202, 175, 239);
/* oklch */ color: oklch(79.9% 0.093 303.7);
Tailwind
colors: {
  custom: {
    50: '#dac7f4',
    500: '#caafef',
    950: '#000000',
  },
}
SCSS
$custom: #caafef;
$custom-light: #dac7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#caafef",
  "rgb": {
    "r": 202,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 265.313,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.79928,
    "c": 0.09325,
    "h": 303.7
  },
  "luminance": 0.49448
}

Semantic roles & 50–950 ramp

primary
#CAAFEF
secondary
#E7F1DA
accent
#CF1781
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #CAAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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