#DFA7FA#DFA7FA

#DFA7FA is a light, vivid purple. Relative luminance 0.502; OKLCH L 80.9% C 0.128 H 314.4°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#DFA7FA
RGBrgb(223, 167, 250)
HSLhsl(280, 89%, 82%)
HSVhsv(280, 33%, 98%)
CMYKcmyk(10.8%, 33.2%, 0%, 2%)
CIE-LABlab(76.21, 35.01, -33.38)
CIE-LCHlch(76.21, 48.38, 316.37°)
OKLaboklab(80.88% 0.0896 -0.0916)
OKLCHoklch(80.88% 0.128 314.4)
XYZxyz(61.5027, 50.2287, 96.8791)
Luminance0.5023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA7FA #C2FAA7
analogous
#B6A7FA #DFA7FA #FAA7EC
triadic
#DFA7FA #FADFA7 #A7FADF
tetradic
#DFA7FA #FAB6A7 #C2FAA7 #A7ECFA
square
#DFA7FA #FAB6A7 #C2FAA7 #A7ECFA
split-complementary
#DFA7FA #ECFAA7 #A7FAB6
monochromatic
#B533F3 #CA6DF7 #DFA7FA #F4E1FD #F4E2FD

Accessibility & contrast

On white

1.90
#DFA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#DFA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA7FA
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA7FA#FFFFFF#000000##000000
##DFA7FA1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FD
Deuteranopia (green-blind)
#A7BDF7
Tritanopia (blue-blind)
#DDB2C5
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dfa7fa;
/* rgb */ color: rgb(223, 167, 250);
/* oklch */ color: oklch(80.9% 0.128 314.4);
Tailwind
colors: {
  custom: {
    50: '#eac1fc',
    500: '#dfa7fa',
    950: '#000000',
  },
}
SCSS
$custom: #dfa7fa;
$custom-light: #eac1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa7fa",
  "rgb": {
    "r": 223,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 280.482,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80882,
    "c": 0.12807,
    "h": 314.4
  },
  "luminance": 0.50228
}

Semantic roles & 50–950 ramp

primary
#DFA7FA
secondary
#8EDC69
accent
#E6004B
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #DFA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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