#DFA2FD#DFA2FD

#DFA2FD is a light, vivid purple. Relative luminance 0.486; OKLCH L 80.2% C 0.140 H 314.1°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#DFA2FD
RGBrgb(223, 162, 253)
HSLhsl(280, 96%, 81%)
HSVhsv(280, 36%, 99%)
CMYKcmyk(11.9%, 36%, 0%, 0.8%)
CIE-LABlab(75.22, 38.30, -36.54)
CIE-LCHlch(75.22, 52.94, 316.35°)
OKLaboklab(80.17% 0.0974 -0.1005)
OKLCHoklch(80.17% 0.14 314.1)
XYZxyz(61.0785, 48.6217, 99.0768)
Luminance0.4862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2FD #C0FDA2
analogous
#B2A2FD #DFA2FD #FDA2ED
triadic
#DFA2FD #FDDFA2 #A2FDDF
tetradic
#DFA2FD #FDB2A2 #C0FDA2 #A2EDFD
square
#DFA2FD #FDB2A2 #C0FDA2 #A2EDFD
split-complementary
#DFA2FD #EDFDA2 #A2FDB2
monochromatic
#B62AFA #CA66FC #DFA2FD #F4DEFE #F5E1FE

Accessibility & contrast

On white

1.96
#DFA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#DFA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2FD
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2FD#FFFFFF#000000##000000
##DFA2FD1.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B6FF
Deuteranopia (green-blind)
#A1BBFA
Tritanopia (blue-blind)
#DDAEC4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dfa2fd;
/* rgb */ color: rgb(223, 162, 253);
/* oklch */ color: oklch(80.2% 0.140 314.1);
Tailwind
colors: {
  custom: {
    50: '#eabefe',
    500: '#dfa2fd',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2fd;
$custom-light: #eabefe;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2fd",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 280.22,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.80167,
    "c": 0.13996,
    "h": 314.1
  },
  "luminance": 0.4862
}

Semantic roles & 50–950 ramp

primary
#DFA2FD
secondary
#E0F7D4
accent
#E6004C
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DFA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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