#DFAEFB#DFAEFB

#DFAEFB is a very light, moderate violet. Relative luminance 0.529; OKLCH L 82.1% C 0.117 H 312.8°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#DFAEFB
RGBrgb(223, 174, 251)
HSLhsl(278, 91%, 83%)
HSVhsv(278, 31%, 98%)
CMYKcmyk(11.2%, 30.7%, 0%, 1.6%)
CIE-LABlab(77.83, 31.45, -31.42)
CIE-LCHlch(77.83, 44.46, 315.03°)
OKLaboklab(82.13% 0.0798 -0.086)
OKLCHoklch(82.13% 0.117 312.8)
XYZxyz(62.9772, 52.9261, 98.1462)
Luminance0.5292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAEFB #CAFBAE
analogous
#B8AEFB #DFAEFB #FBAEF0
triadic
#DFAEFB #FBDFAE #AEFBDF
tetradic
#DFAEFB #FBB8AE #CAFBAE #AEF0FB
square
#DFAEFB #FBB8AE #CAFBAE #AEF0FB
split-complementary
#DFAEFB #F0FBAE #AEFBB8
monochromatic
#B139F5 #C874F8 #DFAEFB #F3E2FE #F3E2FE

Accessibility & contrast

On white

1.81
#DFAEFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#DFAEFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAEFB
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAEFB#FFFFFF#000000##000000
##DFAEFB1.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BEFE
Deuteranopia (green-blind)
#ADC2F9
Tritanopia (blue-blind)
#DDB8CA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dfaefb;
/* rgb */ color: rgb(223, 174, 251);
/* oklch */ color: oklch(82.1% 0.117 312.8);
Tailwind
colors: {
  custom: {
    50: '#eac6fd',
    500: '#dfaefb',
    950: '#000000',
  },
}
SCSS
$custom: #dfaefb;
$custom-light: #eac6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaefb",
  "rgb": {
    "r": 223,
    "g": 174,
    "b": 251
  },
  "hsl": {
    "h": 278.182,
    "s": 90.588,
    "l": 83.333
  },
  "oklch": {
    "l": 0.8213,
    "c": 0.11732,
    "h": 312.8
  },
  "luminance": 0.52925
}

Semantic roles & 50–950 ramp

primary
#DFAEFB
secondary
#97DF6F
accent
#E60053
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFAEFB

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

Preview Lab → · Contrast checker → · Palette generator →

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