#DFA1FA#DFA1FA

#DFA1FA is a light, vivid purple. Relative luminance 0.481; OKLCH L 79.9% C 0.138 H 315.2°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#DFA1FA
RGBrgb(223, 161, 250)
HSLhsl(282, 90%, 81%)
HSVhsv(282, 36%, 98%)
CMYKcmyk(10.8%, 35.6%, 0%, 2%)
CIE-LABlab(74.88, 38.23, -35.44)
CIE-LCHlch(74.88, 52.13, 317.17°)
OKLaboklab(79.87% 0.0981 -0.0974)
OKLCHoklch(79.87% 0.138 315.2)
XYZxyz(60.4289, 48.0811, 96.5212)
Luminance0.4808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA1FA #BCFAA1
analogous
#B2A1FA #DFA1FA #FAA1E8
triadic
#DFA1FA #FADFA1 #A1FADF
tetradic
#DFA1FA #FAB2A1 #BCFAA1 #A1E8FA
square
#DFA1FA #FAB2A1 #BCFAA1 #A1E8FA
split-complementary
#DFA1FA #E8FAA1 #A1FAB2
monochromatic
#B72DF4 #CB67F7 #DFA1FA #F3DBFD #F5E2FD

Accessibility & contrast

On white

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

On black

10.62
#DFA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA1FA
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA1FA#FFFFFF#000000##000000
##DFA1FA1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FD
Deuteranopia (green-blind)
#A2BAF7
Tritanopia (blue-blind)
#DEACC2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dfa1fa;
/* rgb */ color: rgb(223, 161, 250);
/* oklch */ color: oklch(79.9% 0.138 315.2);
Tailwind
colors: {
  custom: {
    50: '#eabdfc',
    500: '#dfa1fa',
    950: '#000000',
  },
}
SCSS
$custom: #dfa1fa;
$custom-light: #eabdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa1fa",
  "rgb": {
    "r": 223,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 281.798,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79871,
    "c": 0.13825,
    "h": 315.2
  },
  "luminance": 0.4808
}

Semantic roles & 50–950 ramp

primary
#DFA1FA
secondary
#DFF6D5
accent
#E60046
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DFA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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