#DFA8FE#DFA8FE

#DFA8FE is a light, vivid violet. Relative luminance 0.508; OKLCH L 81.2% C 0.131 H 312.9°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#DFA8FE
RGBrgb(223, 168, 254)
HSLhsl(278, 98%, 83%)
HSVhsv(278, 34%, 100%)
CMYKcmyk(12.2%, 33.9%, 0%, 0.4%)
CIE-LABlab(76.59, 35.29, -34.95)
CIE-LCHlch(76.59, 49.67, 315.28°)
OKLaboklab(81.22% 0.0891 -0.096)
OKLCHoklch(81.22% 0.131 312.9)
XYZxyz(62.3205, 50.8500, 100.2787)
Luminance0.5085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA8FE #C7FEA8
analogous
#B4A8FE #DFA8FE #FEA8F2
triadic
#DFA8FE #FEDFA8 #A8FEDF
tetradic
#DFA8FE #FEB4A8 #C7FEA8 #A8F2FE
square
#DFA8FE #FEB4A8 #C7FEA8 #A8F2FE
split-complementary
#DFA8FE #F2FEA8 #A8FEB4
monochromatic
#B22FFD #C96BFD #DFA8FE #F4E1FF #F4E1FF

Accessibility & contrast

On white

1.88
#DFA8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.17
#DFA8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA8FE
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA8FE#FFFFFF#000000##000000
##DFA8FE1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#A6BEFB
Tritanopia (blue-blind)
#DCB3C8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dfa8fe;
/* rgb */ color: rgb(223, 168, 254);
/* oklch */ color: oklch(81.2% 0.131 312.9);
Tailwind
colors: {
  custom: {
    50: '#eac2ff',
    500: '#dfa8fe',
    950: '#000000',
  },
}
SCSS
$custom: #dfa8fe;
$custom-light: #eac2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa8fe",
  "rgb": {
    "r": 223,
    "g": 168,
    "b": 254
  },
  "hsl": {
    "h": 278.372,
    "s": 97.727,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81221,
    "c": 0.13099,
    "h": 312.9
  },
  "luminance": 0.50849
}

Semantic roles & 50–950 ramp

primary
#DFA8FE
secondary
#94E368
accent
#E60053
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #DFA8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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