#DFA2EF#DFA2EF

#DFA2EF is a light, vivid purple. Relative luminance 0.478; OKLCH L 79.6% C 0.124 H 319.1°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#DFA2EF
RGBrgb(223, 162, 239)
HSLhsl(288, 71%, 79%)
HSVhsv(288, 32%, 94%)
CMYKcmyk(6.7%, 32.2%, 0%, 6.3%)
CIE-LABlab(74.67, 35.51, -29.79)
CIE-LCHlch(74.67, 46.35, 320.01°)
OKLaboklab(79.58% 0.0941 -0.0813)
OKLCHoklch(79.58% 0.124 319.1)
XYZxyz(58.9296, 47.7621, 87.7593)
Luminance0.4776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2EF #B2EFA2
analogous
#B8A2EF #DFA2EF #EFA2D8
triadic
#DFA2EF #EFDFA2 #A2EFDF
tetradic
#DFA2EF #EFB8A2 #B2EFA2 #A2D8EF
square
#DFA2EF #EFB8A2 #B2EFA2 #A2D8EF
split-complementary
#DFA2EF #D8EFA2 #A2EFB8
monochromatic
#BB3ADD #CD6EE6 #DFA2EF #F1D6F8 #F6E5FB

Accessibility & contrast

On white

1.99
#DFA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#DFA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2EF
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2EF#FFFFFF#000000##000000
##DFA2EF1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B4F2
Deuteranopia (green-blind)
#A7BAED
Tritanopia (blue-blind)
#E0ABBE
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dfa2ef;
/* rgb */ color: rgb(223, 162, 239);
/* oklch */ color: oklch(79.6% 0.124 319.1);
Tailwind
colors: {
  custom: {
    50: '#eabef4',
    500: '#dfa2ef',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2ef;
$custom-light: #eabef4;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2ef",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 287.532,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79579,
    "c": 0.12435,
    "h": 319.1
  },
  "luminance": 0.47761
}

Semantic roles & 50–950 ramp

primary
#DFA2EF
secondary
#DEF2D9
accent
#D3133B
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DFA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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