#DFA5FF#DFA5FF

#DFA5FF is a light, vivid violet. Relative luminance 0.498; OKLCH L 80.8% C 0.137 H 313.0°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#DFA5FF
RGBrgb(223, 165, 255)
HSLhsl(279, 100%, 82%)
HSVhsv(279, 35%, 100%)
CMYKcmyk(12.5%, 35.3%, 0%, 0%)
CIE-LABlab(75.96, 37.11, -36.47)
CIE-LCHlch(75.96, 52.02, 315.50°)
OKLaboklab(80.76% 0.0936 -0.1003)
OKLCHoklch(80.76% 0.137 313)
XYZxyz(61.9336, 49.8193, 100.9418)
Luminance0.4982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA5FF #C5FFA5
analogous
#B2A5FF #DFA5FF #FFA5F2
triadic
#DFA5FF #FFDFA5 #A5FFDF
tetradic
#DFA5FF #FFB2A5 #C5FFA5 #A5F2FF
square
#DFA5FF #FFB2A5 #C5FFA5 #A5F2FF
split-complementary
#DFA5FF #F2FFA5 #A5FFB2
monochromatic
#B32BFF #C968FF #DFA5FF #F4E0FF #F4E0FF

Accessibility & contrast

On white

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

On black

10.96
#DFA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA5FF
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA5FF#FFFFFF#000000##000000
##DFA5FF1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B8FF
Deuteranopia (green-blind)
#A3BDFC
Tritanopia (blue-blind)
#DCB1C6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dfa5ff;
/* rgb */ color: rgb(223, 165, 255);
/* oklch */ color: oklch(80.8% 0.137 313.0);
Tailwind
colors: {
  custom: {
    50: '#eac0ff',
    500: '#dfa5ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfa5ff;
$custom-light: #eac0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa5ff",
  "rgb": {
    "r": 223,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 278.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.80756,
    "c": 0.1372,
    "h": 313
  },
  "luminance": 0.49818
}

Semantic roles & 50–950 ramp

primary
#DFA5FF
secondary
#E0F7D4
accent
#E60052
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DFA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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