#DFA7FE#DFA7FE

#DFA7FE is a light, vivid violet. Relative luminance 0.505; OKLCH L 81.1% C 0.133 H 313.0°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#DFA7FE
RGBrgb(223, 167, 254)
HSLhsl(279, 98%, 83%)
HSVhsv(279, 34%, 100%)
CMYKcmyk(12.2%, 34.3%, 0%, 0.4%)
CIE-LABlab(76.36, 35.83, -35.30)
CIE-LCHlch(76.36, 50.30, 315.43°)
OKLaboklab(81.05% 0.0905 -0.097)
OKLCHoklch(81.05% 0.133 313)
XYZxyz(62.1366, 50.4822, 100.2174)
Luminance0.5048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA7FE #C6FEA7
analogous
#B4A7FE #DFA7FE #FEA7F1
triadic
#DFA7FE #FEDFA7 #A7FEDF
tetradic
#DFA7FE #FEB4A7 #C6FEA7 #A7F1FE
square
#DFA7FE #FEB4A7 #C6FEA7 #A7F1FE
split-complementary
#DFA7FE #F1FEA7 #A7FEB4
monochromatic
#B32EFD #C96AFD #DFA7FE #F4E1FF #F4E1FF

Accessibility & contrast

On white

1.89
#DFA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.10
#DFA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA7FE
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA7FE#FFFFFF#000000##000000
##DFA7FE1.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B9FF
Deuteranopia (green-blind)
#A5BEFB
Tritanopia (blue-blind)
#DDB3C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dfa7fe;
/* rgb */ color: rgb(223, 167, 254);
/* oklch */ color: oklch(81.1% 0.133 313.0);
Tailwind
colors: {
  custom: {
    50: '#eac2ff',
    500: '#dfa7fe',
    950: '#000000',
  },
}
SCSS
$custom: #dfa7fe;
$custom-light: #eac2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa7fe",
  "rgb": {
    "r": 223,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 278.621,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81051,
    "c": 0.13268,
    "h": 313
  },
  "luminance": 0.50481
}

Semantic roles & 50–950 ramp

primary
#DFA7FE
secondary
#93E267
accent
#E60052
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #DFA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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