#DFA5FE#DFA5FE

#DFA5FE is a light, vivid violet. Relative luminance 0.498; OKLCH L 80.7% C 0.136 H 313.3°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#DFA5FE
RGBrgb(223, 165, 254)
HSLhsl(279, 98%, 82%)
HSVhsv(279, 35%, 100%)
CMYKcmyk(12.2%, 35%, 0%, 0.4%)
CIE-LABlab(75.92, 36.90, -35.99)
CIE-LCHlch(75.92, 51.54, 315.72°)
OKLaboklab(80.71% 0.0934 -0.099)
OKLCHoklch(80.71% 0.136 313.3)
XYZxyz(61.7730, 49.7551, 100.0963)
Luminance0.4975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA5FE #C4FEA5
analogous
#B3A5FE #DFA5FE #FEA5F1
triadic
#DFA5FE #FEDFA5 #A5FEDF
tetradic
#DFA5FE #FEB3A5 #C4FEA5 #A5F1FE
square
#DFA5FE #FEB3A5 #C4FEA5 #A5F1FE
split-complementary
#DFA5FE #F1FEA5 #A5FEB3
monochromatic
#B42CFD #C968FD #DFA5FE #F4E1FF #F4E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DFA5FE#FFFFFF#000000##000000
##DFA5FE1.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)
#96B8FF
Deuteranopia (green-blind)
#A4BDFB
Tritanopia (blue-blind)
#DDB1C6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dfa5fe;
/* rgb */ color: rgb(223, 165, 254);
/* oklch */ color: oklch(80.7% 0.136 313.3);
Tailwind
colors: {
  custom: {
    50: '#eac0ff',
    500: '#dfa5fe',
    950: '#000000',
  },
}
SCSS
$custom: #dfa5fe;
$custom-light: #eac0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa5fe",
  "rgb": {
    "r": 223,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 279.101,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80713,
    "c": 0.13605,
    "h": 313.3
  },
  "luminance": 0.49754
}

Semantic roles & 50–950 ramp

primary
#DFA5FE
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DFA5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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