#DFA2F2#DFA2F2

#DFA2F2 is a light, vivid purple. Relative luminance 0.479; OKLCH L 79.7% C 0.128 H 318.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#DFA2F2
RGBrgb(223, 162, 242)
HSLhsl(286, 75%, 79%)
HSVhsv(286, 33%, 95%)
CMYKcmyk(7.9%, 33.1%, 0%, 5.1%)
CIE-LABlab(74.79, 36.10, -31.25)
CIE-LCHlch(74.79, 47.74, 319.12°)
OKLaboklab(79.7% 0.0948 -0.0854)
OKLCHoklch(79.7% 0.128 318)
XYZxyz(59.3765, 47.9409, 90.1129)
Luminance0.4794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2F2 #B5F2A2
analogous
#B7A2F2 #DFA2F2 #F2A2DD
triadic
#DFA2F2 #F2DFA2 #A2F2DF
tetradic
#DFA2F2 #F2B7A2 #B5F2A2 #A2DDF2
square
#DFA2F2 #F2B7A2 #B5F2A2 #A2DDF2
split-complementary
#DFA2F2 #DDF2A2 #A2F2B7
monochromatic
#BA37E3 #CD6CEA #DFA2F2 #F1D8FA #F6E4FB

Accessibility & contrast

On white

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

On black

10.59
#DFA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2F2
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2F2#FFFFFF#000000##000000
##DFA2F21.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B4F5
Deuteranopia (green-blind)
#A6BAEF
Tritanopia (blue-blind)
#DFABBF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dfa2f2;
/* rgb */ color: rgb(223, 162, 242);
/* oklch */ color: oklch(79.7% 0.128 318.0);
Tailwind
colors: {
  custom: {
    50: '#eabef6',
    500: '#dfa2f2',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2f2;
$custom-light: #eabef6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2f2",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 285.75,
    "s": 75.472,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79702,
    "c": 0.12763,
    "h": 318
  },
  "luminance": 0.47939
}

Semantic roles & 50–950 ramp

primary
#DFA2F2
secondary
#DEF3D8
accent
#D80E3E
background
#FEFBFF
surface
#FDF7FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DFA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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