#DFAFEB#DFAFEB

#DFAFEB is a light, moderate purple. Relative luminance 0.523; OKLCH L 81.7% C 0.097 H 319.5°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#DFAFEB
RGBrgb(223, 175, 235)
HSLhsl(288, 60%, 80%)
HSVhsv(288, 26%, 92%)
CMYKcmyk(5.1%, 25.5%, 0%, 7.8%)
CIE-LABlab(77.49, 27.74, -23.32)
CIE-LCHlch(77.49, 36.24, 319.95°)
OKLaboklab(81.68% 0.0739 -0.0632)
OKLCHoklch(81.68% 0.097 319.5)
XYZxyz(60.7547, 52.3473, 85.4847)
Luminance0.5235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFEB #BBEBAF
analogous
#C1AFEB #DFAFEB #EBAFD9
triadic
#DFAFEB #EBDFAF #AFEBDF
tetradic
#DFAFEB #EBC1AF #BBEBAF #AFD9EB
square
#DFAFEB #EBC1AF #BBEBAF #AFD9EB
split-complementary
#DFAFEB #D9EBAF #AFEBC1
monochromatic
#B84DD3 #CB7EDF #DFAFEB #F3E0F7 #F5E7F9

Accessibility & contrast

On white

1.83
#DFAFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#DFAFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFEB
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFEB#FFFFFF#000000##000000
##DFAFEB1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BCED
Deuteranopia (green-blind)
#B3C1E9
Tritanopia (blue-blind)
#E0B5C4
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dfafeb;
/* rgb */ color: rgb(223, 175, 235);
/* oklch */ color: oklch(81.7% 0.097 319.5);
Tailwind
colors: {
  custom: {
    50: '#e9c7f1',
    500: '#dfafeb',
    950: '#000000',
  },
}
SCSS
$custom: #dfafeb;
$custom-light: #e9c7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfafeb",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 288,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.81678,
    "c": 0.09727,
    "h": 319.5
  },
  "luminance": 0.52346
}

Semantic roles & 50–950 ramp

primary
#DFAFEB
secondary
#87C777
accent
#C81E40
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161316
muted
#848285

Preview Lab

Preview with #DFAFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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