#DFA2FB#DFA2FB

#DFA2FB is a light, vivid purple. Relative luminance 0.485; OKLCH L 80.1% C 0.138 H 314.8°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#DFA2FB
RGBrgb(223, 162, 251)
HSLhsl(281, 92%, 81%)
HSVhsv(281, 35%, 98%)
CMYKcmyk(11.2%, 35.5%, 0%, 1.6%)
CIE-LABlab(75.14, 37.90, -35.58)
CIE-LCHlch(75.14, 51.98, 316.81°)
OKLaboklab(80.08% 0.0969 -0.0978)
OKLCHoklch(80.08% 0.138 314.8)
XYZxyz(60.7616, 48.4949, 97.4077)
Luminance0.4849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2FB #BEFBA2
analogous
#B2A2FB #DFA2FB #FBA2EA
triadic
#DFA2FB #FBDFA2 #A2FBDF
tetradic
#DFA2FB #FBB2A2 #BEFBA2 #A2EAFB
square
#DFA2FB #FBB2A2 #BEFBA2 #A2EAFB
split-complementary
#DFA2FB #EAFBA2 #A2FBB2
monochromatic
#B72DF6 #CB67F8 #DFA2FB #F3DDFE #F5E2FE

Accessibility & contrast

On white

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

On black

10.70
#DFA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2FB
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2FB#FFFFFF#000000##000000
##DFA2FB1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FE
Deuteranopia (green-blind)
#A2BBF8
Tritanopia (blue-blind)
#DDAEC3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dfa2fb;
/* rgb */ color: rgb(223, 162, 251);
/* oklch */ color: oklch(80.1% 0.138 314.8);
Tailwind
colors: {
  custom: {
    50: '#eabefd',
    500: '#dfa2fb',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2fb;
$custom-light: #eabefd;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2fb",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 281.124,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.80081,
    "c": 0.13769,
    "h": 314.8
  },
  "luminance": 0.48494
}

Semantic roles & 50–950 ramp

primary
#DFA2FB
secondary
#DFF6D5
accent
#E60048
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DFA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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