#DFA2F4#DFA2F4

#DFA2F4 is a light, vivid purple. Relative luminance 0.481; OKLCH L 79.8% C 0.130 H 317.2°. Best body text is #000000 at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#DFA2F4
RGBrgb(223, 162, 244)
HSLhsl(285, 79%, 80%)
HSVhsv(285, 34%, 96%)
CMYKcmyk(8.6%, 33.6%, 0%, 4.3%)
CIE-LABlab(74.86, 36.50, -32.21)
CIE-LCHlch(74.86, 48.68, 318.57°)
OKLaboklab(79.79% 0.0953 -0.0882)
OKLCHoklch(79.79% 0.13 317.2)
XYZxyz(59.6785, 48.0617, 91.7035)
Luminance0.4806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2F4 #B7F4A2
analogous
#B6A2F4 #DFA2F4 #F4A2E0
triadic
#DFA2F4 #F4DFA2 #A2F4DF
tetradic
#DFA2F4 #F4B6A2 #B7F4A2 #A2E0F4
square
#DFA2F4 #F4B6A2 #B7F4A2 #A2E0F4
split-complementary
#DFA2F4 #E0F4A2 #A2F4B6
monochromatic
#B935E7 #CC6BEE #DFA2F4 #F2D9FA #F6E4FC

Accessibility & contrast

On white

1.98
#DFA2F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.61
#DFA2F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2F4
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2F4#FFFFFF#000000##000000
##DFA2F41.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B4F7
Deuteranopia (green-blind)
#A5BAF1
Tritanopia (blue-blind)
#DFACC0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dfa2f4;
/* rgb */ color: rgb(223, 162, 244);
/* oklch */ color: oklch(79.8% 0.130 317.2);
Tailwind
colors: {
  custom: {
    50: '#eabef8',
    500: '#dfa2f4',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2f4;
$custom-light: #eabef8;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2f4",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 244
  },
  "hsl": {
    "h": 284.634,
    "s": 78.846,
    "l": 79.608
  },
  "oklch": {
    "l": 0.79785,
    "c": 0.12985,
    "h": 317.2
  },
  "luminance": 0.4806
}

Semantic roles & 50–950 ramp

primary
#DFA2F4
secondary
#DFF4D7
accent
#DB0A40
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DFA2F4

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

Preview Lab → · Contrast checker → · Palette generator →

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