#DFAFFA#DFAFFA

#DFAFFA is a very light, moderate violet. Relative luminance 0.532; OKLCH L 82.3% C 0.114 H 313.0°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#DFAFFA
RGBrgb(223, 175, 250)
HSLhsl(278, 88%, 83%)
HSVhsv(278, 30%, 98%)
CMYKcmyk(10.8%, 30%, 0%, 2%)
CIE-LABlab(78.02, 30.71, -30.59)
CIE-LCHlch(78.02, 43.34, 315.12°)
OKLaboklab(82.26% 0.0781 -0.0837)
OKLCHoklch(82.26% 0.114 313)
XYZxyz(63.0139, 53.2510, 97.3829)
Luminance0.5325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFFA #CAFAAF
analogous
#B9AFFA #DFAFFA #FAAFEF
triadic
#DFAFFA #FADFAF #AFFADF
tetradic
#DFAFFA #FAB9AF #CAFAAF #AFEFFA
square
#DFAFFA #FAB9AF #CAFAAF #AFEFFA
split-complementary
#DFAFFA #EFFAAF #AFFAB9
monochromatic
#B13CF3 #C875F6 #DFAFFA #F3E2FD #F3E2FD

Accessibility & contrast

On white

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

On black

11.65
#DFAFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFFA
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFFA#FFFFFF#000000##000000
##DFAFFA1.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BEFD
Deuteranopia (green-blind)
#AEC2F8
Tritanopia (blue-blind)
#DDB9CA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfaffa;
/* rgb */ color: rgb(223, 175, 250);
/* oklch */ color: oklch(82.3% 0.114 313.0);
Tailwind
colors: {
  custom: {
    50: '#e9c7fc',
    500: '#dfaffa',
    950: '#000000',
  },
}
SCSS
$custom: #dfaffa;
$custom-light: #e9c7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaffa",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 278.4,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.82264,
    "c": 0.11445,
    "h": 313
  },
  "luminance": 0.5325
}

Semantic roles & 50–950 ramp

primary
#DFAFFA
secondary
#97DD70
accent
#E50153
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFAFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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