#DFA1FF#DFA1FF

#DFA1FF is a light, vivid violet. Relative luminance 0.484; OKLCH L 80.1% C 0.144 H 313.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#DFA1FF
RGBrgb(223, 161, 255)
HSLhsl(280, 100%, 82%)
HSVhsv(280, 37%, 100%)
CMYKcmyk(12.5%, 36.9%, 0%, 0%)
CIE-LABlab(75.08, 39.25, -37.83)
CIE-LCHlch(75.08, 54.51, 316.05°)
OKLaboklab(80.09% 0.0992 -0.1042)
OKLCHoklch(80.09% 0.144 313.6)
XYZxyz(61.2234, 48.3989, 100.7051)
Luminance0.4840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA1FF #C1FFA1
analogous
#B0A1FF #DFA1FF #FFA1F0
triadic
#DFA1FF #FFDFA1 #A1FFDF
tetradic
#DFA1FF #FFB0A1 #C1FFA1 #A1F0FF
square
#DFA1FF #FFB0A1 #C1FFA1 #A1F0FF
split-complementary
#DFA1FF #F0FFA1 #A1FFB0
monochromatic
#B527FF #CA64FF #DFA1FF #F4DEFF #F5E0FF

Accessibility & contrast

On white

1.97
#DFA1FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#DFA1FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA1FF
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA1FF#FFFFFF#000000##000000
##DFA1FF1.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#A0BAFC
Tritanopia (blue-blind)
#DDAEC4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dfa1ff;
/* rgb */ color: rgb(223, 161, 255);
/* oklch */ color: oklch(80.1% 0.144 313.6);
Tailwind
colors: {
  custom: {
    50: '#eabdff',
    500: '#dfa1ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfa1ff;
$custom-light: #eabdff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa1ff",
  "rgb": {
    "r": 223,
    "g": 161,
    "b": 255
  },
  "hsl": {
    "h": 279.574,
    "s": 100,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80088,
    "c": 0.14391,
    "h": 313.6
  },
  "luminance": 0.48398
}

Semantic roles & 50–950 ramp

primary
#DFA1FF
secondary
#E0F7D4
accent
#E6004E
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DFA1FF

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

Preview Lab → · Contrast checker → · Palette generator →

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