#DFA7F2#DFA7F2

#DFA7F2 is a light, moderate purple. Relative luminance 0.497; OKLCH L 80.6% C 0.119 H 317.4°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#DFA7F2
RGBrgb(223, 167, 242)
HSLhsl(285, 74%, 80%)
HSVhsv(285, 31%, 95%)
CMYKcmyk(7.9%, 31%, 0%, 5.1%)
CIE-LABlab(75.91, 33.42, -29.52)
CIE-LCHlch(75.91, 44.59, 318.54°)
OKLaboklab(80.55% 0.0876 -0.0806)
OKLCHoklch(80.55% 0.119 317.4)
XYZxyz(60.2748, 49.7375, 90.4123)
Luminance0.4974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA7F2 #BAF2A7
analogous
#B9A7F2 #DFA7F2 #F2A7DF
triadic
#DFA7F2 #F2DFA7 #A7F2DF
tetradic
#DFA7F2 #F2B9A7 #BAF2A7 #A7DFF2
square
#DFA7F2 #F2B9A7 #BAF2A7 #A7DFF2
split-complementary
#DFA7F2 #DFF2A7 #A7F2B9
monochromatic
#B83CE2 #CC72EA #DFA7F2 #F2DCFA #F5E4FB

Accessibility & contrast

On white

1.92
#DFA7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#DFA7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA7F2
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA7F2#FFFFFF#000000##000000
##DFA7F21.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB8F5
Deuteranopia (green-blind)
#AABDF0
Tritanopia (blue-blind)
#DFB0C2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dfa7f2;
/* rgb */ color: rgb(223, 167, 242);
/* oklch */ color: oklch(80.6% 0.119 317.4);
Tailwind
colors: {
  custom: {
    50: '#eac1f6',
    500: '#dfa7f2',
    950: '#000000',
  },
}
SCSS
$custom: #dfa7f2;
$custom-light: #eac1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa7f2",
  "rgb": {
    "r": 223,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 284.8,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.80553,
    "c": 0.11902,
    "h": 317.4
  },
  "luminance": 0.49736
}

Semantic roles & 50–950 ramp

primary
#DFA7F2
secondary
#DFF3D8
accent
#D60F42
background
#FEFBFF
surface
#FDF7FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DFA7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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