#CFAFEB#CFAFEB

#CFAFEB is a light, moderate violet. Relative luminance 0.499; OKLCH L 80.2% C 0.090 H 308.7°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CFAFEB
RGBrgb(207, 175, 235)
HSLhsl(272, 60%, 80%)
HSVhsv(272, 26%, 92%)
CMYKcmyk(11.9%, 25.5%, 0%, 7.8%)
CIE-LABlab(76.02, 22.65, -25.69)
CIE-LCHlch(76.02, 34.25, 311.41°)
OKLaboklab(80.21% 0.0561 -0.0701)
OKLCHoklch(80.21% 0.09 308.7)
XYZxyz(56.0548, 49.9239, 85.2644)
Luminance0.4992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFEB #CBEBAF
analogous
#B1AFEB #CFAFEB #EBAFE9
triadic
#CFAFEB #EBCFAF #AFEBCF
tetradic
#CFAFEB #EBB1AF #CBEBAF #AFE9EB
square
#CFAFEB #EBB1AF #CBEBAF #AFE9EB
split-complementary
#CFAFEB #E9EBAF #AFEBB1
monochromatic
#944DD3 #B27EDF #CFAFEB #ECE0F7 #F0E7F9

Accessibility & contrast

On white

1.91
#CFAFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#CFAFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFEB
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFEB#FFFFFF#000000##000000
##CFAFEB1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BAED
Deuteranopia (green-blind)
#ABBCE9
Tritanopia (blue-blind)
#CCB7C4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfafeb;
/* rgb */ color: rgb(207, 175, 235);
/* oklch */ color: oklch(80.2% 0.090 308.7);
Tailwind
colors: {
  custom: {
    50: '#dec7f1',
    500: '#cfafeb',
    950: '#000000',
  },
}
SCSS
$custom: #cfafeb;
$custom-light: #dec7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfafeb",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 272,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.8021,
    "c": 0.08976,
    "h": 308.7
  },
  "luminance": 0.49924
}

Semantic roles & 50–950 ramp

primary
#CFAFEB
secondary
#E5F0DB
accent
#C81E6D
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CFAFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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