#DFAFF8#DFAFF8

#DFAFF8 is a very light, moderate violet. Relative luminance 0.531; OKLCH L 82.2% C 0.112 H 313.8°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#DFAFF8
RGBrgb(223, 175, 248)
HSLhsl(279, 84%, 83%)
HSVhsv(279, 29%, 97%)
CMYKcmyk(10.1%, 29.4%, 0%, 2.7%)
CIE-LABlab(77.95, 30.31, -29.62)
CIE-LCHlch(77.95, 42.38, 315.65°)
OKLaboklab(82.18% 0.0775 -0.0809)
OKLCHoklch(82.18% 0.112 313.8)
XYZxyz(62.7019, 53.1262, 95.7400)
Luminance0.5313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFF8 #C8F8AF
analogous
#BAAFF8 #DFAFF8 #F8AFEC
triadic
#DFAFF8 #F8DFAF #AFF8DF
tetradic
#DFAFF8 #F8BAAF #C8F8AF #AFECF8
square
#DFAFF8 #F8BAAF #C8F8AF #AFECF8
split-complementary
#DFAFF8 #ECF8AF #AFF8BA
monochromatic
#B23EEE #C877F3 #DFAFF8 #F4E3FD #F4E3FD

Accessibility & contrast

On white

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

On black

11.63
#DFAFF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFF8
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFF8#FFFFFF#000000##000000
##DFAFF81.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BEFB
Deuteranopia (green-blind)
#AFC2F6
Tritanopia (blue-blind)
#DDB8C9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfaff8;
/* rgb */ color: rgb(223, 175, 248);
/* oklch */ color: oklch(82.2% 0.112 313.8);
Tailwind
colors: {
  custom: {
    50: '#e9c7fa',
    500: '#dfaff8',
    950: '#000000',
  },
}
SCSS
$custom: #dfaff8;
$custom-light: #e9c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaff8",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 248
  },
  "hsl": {
    "h": 279.452,
    "s": 83.908,
    "l": 82.941
  },
  "oklch": {
    "l": 0.82184,
    "c": 0.1121,
    "h": 313.8
  },
  "luminance": 0.53125
}

Semantic roles & 50–950 ramp

primary
#DFAFF8
secondary
#95DA71
accent
#E00550
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFAFF8

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

Preview Lab → · Contrast checker → · Palette generator →

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