#DFAFFD#DFAFFD

#DFAFFD is a very light, moderate violet. Relative luminance 0.534; OKLCH L 82.4% C 0.118 H 311.9°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#DFAFFD
RGBrgb(223, 175, 253)
HSLhsl(277, 95%, 84%)
HSVhsv(277, 31%, 99%)
CMYKcmyk(11.9%, 30.8%, 0%, 0.8%)
CIE-LABlab(78.13, 31.32, -32.03)
CIE-LCHlch(78.13, 44.80, 314.36°)
OKLaboklab(82.39% 0.0789 -0.0878)
OKLCHoklch(82.39% 0.118 311.9)
XYZxyz(63.4880, 53.4406, 99.8800)
Luminance0.5344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFFD #CDFDAF
analogous
#B8AFFD #DFAFFD #FDAFF4
triadic
#DFAFFD #FDDFAF #AFFDDF
tetradic
#DFAFFD #FDB8AF #CDFDAF #AFF4FD
square
#DFAFFD #FDB8AF #CDFDAF #AFF4FD
split-complementary
#DFAFFD #F4FDAF #AFFDB8
monochromatic
#AF38FA #C773FC #DFAFFD #F3E1FE #F3E1FE

Accessibility & contrast

On white

1.80
#DFAFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#DFAFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFFD
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFFD#FFFFFF#000000##000000
##DFAFFD1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BFFF
Deuteranopia (green-blind)
#ADC2FB
Tritanopia (blue-blind)
#DCB9CB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfaffd;
/* rgb */ color: rgb(223, 175, 253);
/* oklch */ color: oklch(82.4% 0.118 311.9);
Tailwind
colors: {
  custom: {
    50: '#eac7fe',
    500: '#dfaffd',
    950: '#000000',
  },
}
SCSS
$custom: #dfaffd;
$custom-light: #eac7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaffd",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 276.923,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.82386,
    "c": 0.11798,
    "h": 311.9
  },
  "luminance": 0.5344
}

Semantic roles & 50–950 ramp

primary
#DFAFFD
secondary
#9BE26E
accent
#E60058
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFAFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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