#DFA6FA#DFA6FA

#DFA6FA is a light, vivid purple. Relative luminance 0.499; OKLCH L 80.7% C 0.130 H 314.5°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#DFA6FA
RGBrgb(223, 166, 250)
HSLhsl(281, 89%, 82%)
HSVhsv(281, 34%, 98%)
CMYKcmyk(10.8%, 33.6%, 0%, 2%)
CIE-LABlab(75.99, 35.55, -33.73)
CIE-LCHlch(75.99, 49.00, 316.51°)
OKLaboklab(80.71% 0.091 -0.0925)
OKLCHoklch(80.71% 0.13 314.5)
XYZxyz(61.3202, 49.8637, 96.8183)
Luminance0.4986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA6FA #C1FAA6
analogous
#B5A6FA #DFA6FA #FAA6EB
triadic
#DFA6FA #FADFA6 #A6FADF
tetradic
#DFA6FA #FAB5A6 #C1FAA6 #A6EBFA
square
#DFA6FA #FAB5A6 #C1FAA6 #A6EBFA
split-complementary
#DFA6FA #EBFAA6 #A6FAB5
monochromatic
#B532F3 #CA6CF7 #DFA6FA #F4E0FD #F5E2FD

Accessibility & contrast

On white

1.91
#DFA6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#DFA6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA6FA
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA6FA#FFFFFF#000000##000000
##DFA6FA1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FD
Deuteranopia (green-blind)
#A6BDF7
Tritanopia (blue-blind)
#DDB1C5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dfa6fa;
/* rgb */ color: rgb(223, 166, 250);
/* oklch */ color: oklch(80.7% 0.130 314.5);
Tailwind
colors: {
  custom: {
    50: '#eac1fc',
    500: '#dfa6fa',
    950: '#000000',
  },
}
SCSS
$custom: #dfa6fa;
$custom-light: #eac1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa6fa",
  "rgb": {
    "r": 223,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 280.714,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80712,
    "c": 0.12977,
    "h": 314.5
  },
  "luminance": 0.49863
}

Semantic roles & 50–950 ramp

primary
#DFA6FA
secondary
#E0F5D6
accent
#E6004A
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DFA6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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