#DFA7FF#DFA7FF

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

Color values

HEX#DFA7FF
RGBrgb(223, 167, 255)
HSLhsl(278, 100%, 83%)
HSVhsv(278, 35%, 100%)
CMYKcmyk(12.5%, 34.5%, 0%, 0%)
CIE-LABlab(76.40, 36.03, -35.78)
CIE-LCHlch(76.40, 50.78, 315.20°)
OKLaboklab(81.09% 0.0907 -0.0984)
OKLCHoklch(81.09% 0.134 312.7)
XYZxyz(62.2971, 50.5464, 101.0630)
Luminance0.5054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA7FF #C7FFA7
analogous
#B3A7FF #DFA7FF #FFA7F3
triadic
#DFA7FF #FFDFA7 #A7FFDF
tetradic
#DFA7FF #FFB3A7 #C7FFA7 #A7F3FF
square
#DFA7FF #FFB3A7 #C7FFA7 #A7F3FF
split-complementary
#DFA7FF #F3FFA7 #A7FFB3
monochromatic
#B22DFF #C96AFF #DFA7FF #F4E0FF #F4E0FF

Accessibility & contrast

On white

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

On black

11.11
#DFA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA7FF
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA7FF#FFFFFF#000000##000000
##DFA7FF1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfa7ff;
/* rgb */ color: rgb(223, 167, 255);
/* oklch */ color: oklch(81.1% 0.134 312.7);
Tailwind
colors: {
  custom: {
    50: '#eac2ff',
    500: '#dfa7ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfa7ff;
$custom-light: #eac2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa7ff",
  "rgb": {
    "r": 223,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 278.182,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81093,
    "c": 0.13383,
    "h": 312.7
  },
  "luminance": 0.50545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DFA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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