#DFA1FB#DFA1FB

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

Color values

HEX#DFA1FB
RGBrgb(223, 161, 251)
HSLhsl(281, 92%, 81%)
HSVhsv(281, 36%, 98%)
CMYKcmyk(11.2%, 35.9%, 0%, 1.6%)
CIE-LABlab(74.92, 38.43, -35.92)
CIE-LCHlch(74.92, 52.61, 316.93°)
OKLaboklab(79.91% 0.0984 -0.0987)
OKLCHoklch(79.91% 0.139 314.9)
XYZxyz(60.5862, 48.1440, 97.3492)
Luminance0.4814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA1FB #BDFBA1
analogous
#B2A1FB #DFA1FB #FBA1EA
triadic
#DFA1FB #FBDFA1 #A1FBDF
tetradic
#DFA1FB #FBB2A1 #BDFBA1 #A1EAFB
square
#DFA1FB #FBB2A1 #BDFBA1 #A1EAFB
split-complementary
#DFA1FB #EAFBA1 #A1FBB2
monochromatic
#B72CF6 #CB66F9 #DFA1FB #F3DCFD #F5E2FE

Accessibility & contrast

On white

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

On black

10.63
#DFA1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA1FB
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA1FB#FFFFFF#000000##000000
##DFA1FB1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FE
Deuteranopia (green-blind)
#A1BAF8
Tritanopia (blue-blind)
#DDADC3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dfa1fb;
/* rgb */ color: rgb(223, 161, 251);
/* oklch */ color: oklch(79.9% 0.139 314.9);
Tailwind
colors: {
  custom: {
    50: '#eabdfd',
    500: '#dfa1fb',
    950: '#000000',
  },
}
SCSS
$custom: #dfa1fb;
$custom-light: #eabdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa1fb",
  "rgb": {
    "r": 223,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 281.333,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79914,
    "c": 0.13938,
    "h": 314.9
  },
  "luminance": 0.48143
}

Semantic roles & 50–950 ramp

primary
#DFA1FB
secondary
#DFF6D5
accent
#E60047
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DFA1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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