#DFAFF7#DFAFF7

#DFAFF7 is a very light, moderate purple. Relative luminance 0.531; OKLCH L 82.1% C 0.111 H 314.2°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#DFAFF7
RGBrgb(223, 175, 247)
HSLhsl(280, 82%, 83%)
HSVhsv(280, 29%, 97%)
CMYKcmyk(9.7%, 29.1%, 0%, 3.1%)
CIE-LABlab(77.91, 30.11, -29.14)
CIE-LCHlch(77.91, 41.90, 315.93°)
OKLaboklab(82.14% 0.0773 -0.0796)
OKLCHoklch(82.14% 0.111 314.2)
XYZxyz(62.5472, 53.0643, 94.9251)
Luminance0.5306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFF7 #C7F7AF
analogous
#BBAFF7 #DFAFF7 #F7AFEB
triadic
#DFAFF7 #F7DFAF #AFF7DF
tetradic
#DFAFF7 #F7BBAF #C7F7AF #AFEBF7
square
#DFAFF7 #F7BBAF #C7F7AF #AFEBF7
split-complementary
#DFAFF7 #EBF7AF #AFF7BB
monochromatic
#B240EC #C977F1 #DFAFF7 #F4E3FC #F4E3FC

Accessibility & contrast

On white

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

On black

11.61
#DFAFF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFF7
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFF7#FFFFFF#000000##000000
##DFAFF71.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BEFA
Deuteranopia (green-blind)
#AFC2F5
Tritanopia (blue-blind)
#DEB8C9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfaff7;
/* rgb */ color: rgb(223, 175, 247);
/* oklch */ color: oklch(82.1% 0.111 314.2);
Tailwind
colors: {
  custom: {
    50: '#e9c7fa',
    500: '#dfaff7',
    950: '#000000',
  },
}
SCSS
$custom: #dfaff7;
$custom-light: #e9c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaff7",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 247
  },
  "hsl": {
    "h": 280,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.82144,
    "c": 0.11094,
    "h": 314.2
  },
  "luminance": 0.53063
}

Semantic roles & 50–950 ramp

primary
#DFAFF7
secondary
#94D972
accent
#DE074F
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFAFF7

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

Preview Lab → · Contrast checker → · Palette generator →

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