#DFA2FC#DFA2FC

#DFA2FC is a light, vivid purple. Relative luminance 0.486; OKLCH L 80.1% C 0.139 H 314.4°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#DFA2FC
RGBrgb(223, 162, 252)
HSLhsl(281, 94%, 81%)
HSVhsv(281, 36%, 99%)
CMYKcmyk(11.5%, 35.7%, 0%, 1.2%)
CIE-LABlab(75.18, 38.10, -36.06)
CIE-LCHlch(75.18, 52.46, 316.58°)
OKLaboklab(80.12% 0.0972 -0.0991)
OKLCHoklch(80.12% 0.139 314.4)
XYZxyz(60.9197, 48.5581, 98.2401)
Luminance0.4856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2FC #BFFCA2
analogous
#B2A2FC #DFA2FC #FCA2EC
triadic
#DFA2FC #FCDFA2 #A2FCDF
tetradic
#DFA2FC #FCB2A2 #BFFCA2 #A2ECFC
square
#DFA2FC #FCB2A2 #BFFCA2 #A2ECFC
split-complementary
#DFA2FC #ECFCA2 #A2FCB2
monochromatic
#B62BF8 #CB67FA #DFA2FC #F3DDFE #F5E1FE

Accessibility & contrast

On white

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

On black

10.71
#DFA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2FC
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2FC#FFFFFF#000000##000000
##DFA2FC1.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dfa2fc;
/* rgb */ color: rgb(223, 162, 252);
/* oklch */ color: oklch(80.1% 0.139 314.4);
Tailwind
colors: {
  custom: {
    50: '#eabefd',
    500: '#dfa2fc',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2fc;
$custom-light: #eabefd;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2fc",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 280.667,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80124,
    "c": 0.13882,
    "h": 314.4
  },
  "luminance": 0.48557
}

Semantic roles & 50–950 ramp

primary
#DFA2FC
secondary
#E0F6D5
accent
#E6004A
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DFA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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