#DFA2FE#DFA2FE

#DFA2FE is a light, vivid violet. Relative luminance 0.487; OKLCH L 80.2% C 0.141 H 313.8°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#DFA2FE
RGBrgb(223, 162, 254)
HSLhsl(280, 98%, 82%)
HSVhsv(280, 36%, 100%)
CMYKcmyk(12.2%, 36.2%, 0%, 0.4%)
CIE-LABlab(75.26, 38.51, -37.02)
CIE-LCHlch(75.26, 53.41, 316.13°)
OKLaboklab(80.21% 0.0976 -0.1019)
OKLCHoklch(80.21% 0.141 313.8)
XYZxyz(61.2383, 48.6856, 99.9180)
Luminance0.4868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2FE #C1FEA2
analogous
#B1A2FE #DFA2FE #FEA2EF
triadic
#DFA2FE #FEDFA2 #A2FEDF
tetradic
#DFA2FE #FEB1A2 #C1FEA2 #A2EFFE
square
#DFA2FE #FEB1A2 #C1FEA2 #A2EFFE
split-complementary
#DFA2FE #EFFEA2 #A2FEB1
monochromatic
#B529FD #CA65FD #DFA2FE #F4DFFF #F5E1FF

Accessibility & contrast

On white

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

On black

10.74
#DFA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2FE
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2FE#FFFFFF#000000##000000
##DFA2FE1.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfa2fe;
/* rgb */ color: rgb(223, 162, 254);
/* oklch */ color: oklch(80.2% 0.141 313.8);
Tailwind
colors: {
  custom: {
    50: '#eabeff',
    500: '#dfa2fe',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2fe;
$custom-light: #eabeff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2fe",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 279.783,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.8021,
    "c": 0.14109,
    "h": 313.8
  },
  "luminance": 0.48684
}

Semantic roles & 50–950 ramp

primary
#DFA2FE
secondary
#E0F7D4
accent
#E6004D
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DFA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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