#DFAFF2#DFAFF2

#DFAFF2 is a light, moderate purple. Relative luminance 0.528; OKLCH L 81.9% C 0.105 H 316.2°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#DFAFF2
RGBrgb(223, 175, 242)
HSLhsl(283, 72%, 82%)
HSVhsv(283, 28%, 95%)
CMYKcmyk(7.9%, 27.7%, 0%, 5.1%)
CIE-LABlab(77.73, 29.11, -26.72)
CIE-LCHlch(77.73, 39.52, 317.45°)
OKLaboklab(81.95% 0.0759 -0.0728)
OKLCHoklch(81.95% 0.105 316.2)
XYZxyz(61.7860, 52.7598, 90.9160)
Luminance0.5276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFF2 #C2F2AF
analogous
#BEAFF2 #DFAFF2 #F2AFE4
triadic
#DFAFF2 #F2DFAF #AFF2DF
tetradic
#DFAFF2 #F2BEAF #C2F2AF #AFE4F2
square
#DFAFF2 #F2BEAF #C2F2AF #AFE4F2
split-complementary
#DFAFF2 #E4F2AF #AFF2BE
monochromatic
#B546E1 #CA7AE9 #DFAFF2 #F4E4FB #F4E5FB

Accessibility & contrast

On white

1.82
#DFAFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#DFAFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFF2
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFF2#FFFFFF#000000##000000
##DFAFF21.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BDF5
Deuteranopia (green-blind)
#B1C2F0
Tritanopia (blue-blind)
#DFB7C7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dfaff2;
/* rgb */ color: rgb(223, 175, 242);
/* oklch */ color: oklch(81.9% 0.105 316.2);
Tailwind
colors: {
  custom: {
    50: '#e9c7f6',
    500: '#dfaff2',
    950: '#000000',
  },
}
SCSS
$custom: #dfaff2;
$custom-light: #e9c7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaff2",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 282.985,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81947,
    "c": 0.10516,
    "h": 316.2
  },
  "luminance": 0.52759
}

Semantic roles & 50–950 ramp

primary
#DFAFF2
secondary
#8ED174
accent
#D41149
background
#FEFDFF
surface
#FDF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #DFAFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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