#DFA2EB#DFA2EB

#DFA2EB is a light, vivid purple. Relative luminance 0.475; OKLCH L 79.4% C 0.120 H 320.8°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#DFA2EB
RGBrgb(223, 162, 235)
HSLhsl(290, 65%, 78%)
HSVhsv(290, 31%, 92%)
CMYKcmyk(5.1%, 31.1%, 0%, 7.8%)
CIE-LABlab(74.53, 34.74, -27.84)
CIE-LCHlch(74.53, 44.52, 321.29°)
OKLaboklab(79.42% 0.093 -0.0758)
OKLCHoklch(79.42% 0.12 320.8)
XYZxyz(58.3453, 47.5284, 84.6816)
Luminance0.4753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2EB #AEEBA2
analogous
#BAA2EB #DFA2EB #EBA2D2
triadic
#DFA2EB #EBDFA2 #A2EBDF
tetradic
#DFA2EB #EBBAA2 #AEEBA2 #A2D2EB
square
#DFA2EB #EBBAA2 #AEEBA2 #A2D2EB
split-complementary
#DFA2EB #D2EBA2 #A2EBBA
monochromatic
#BC3DD5 #CE70E0 #DFA2EB #F0D4F6 #F6E6FA

Accessibility & contrast

On white

2.00
#DFA2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#DFA2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2EB
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2EB#FFFFFF#000000##000000
##DFA2EB1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB3EE
Deuteranopia (green-blind)
#A8BAE9
Tritanopia (blue-blind)
#E1AABC
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #dfa2eb;
/* rgb */ color: rgb(223, 162, 235);
/* oklch */ color: oklch(79.4% 0.120 320.8);
Tailwind
colors: {
  custom: {
    50: '#eabef1',
    500: '#dfa2eb',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2eb;
$custom-light: #eabef1;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2eb",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 290.137,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.79417,
    "c": 0.12003,
    "h": 320.8
  },
  "luminance": 0.47527
}

Semantic roles & 50–950 ramp

primary
#DFA2EB
secondary
#DEF1DA
accent
#CC1937
background
#FEFBFE
surface
#FDF7FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DFA2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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