#DFA2FF#DFA2FF

#DFA2FF is a light, vivid violet. Relative luminance 0.487; OKLCH L 80.3% C 0.142 H 313.5°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#DFA2FF
RGBrgb(223, 162, 255)
HSLhsl(279, 100%, 82%)
HSVhsv(279, 36%, 100%)
CMYKcmyk(12.5%, 36.5%, 0%, 0%)
CIE-LABlab(75.30, 38.71, -37.49)
CIE-LCHlch(75.30, 53.89, 315.92°)
OKLaboklab(80.25% 0.0978 -0.1032)
OKLCHoklch(80.25% 0.142 313.5)
XYZxyz(61.3988, 48.7498, 100.7636)
Luminance0.4875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA2FF #C2FFA2
analogous
#B1A2FF #DFA2FF #FFA2F0
triadic
#DFA2FF #FFDFA2 #A2FFDF
tetradic
#DFA2FF #FFB1A2 #C2FFA2 #A2F0FF
square
#DFA2FF #FFB1A2 #C2FFA2 #A2F0FF
split-complementary
#DFA2FF #F0FFA2 #A2FFB1
monochromatic
#B528FF #CA65FF #DFA2FF #F4DFFF #F4E0FF

Accessibility & contrast

On white

1.95
#DFA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#DFA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA2FF
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA2FF#FFFFFF#000000##000000
##DFA2FF1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B6FF
Deuteranopia (green-blind)
#A1BBFC
Tritanopia (blue-blind)
#DDAFC5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dfa2ff;
/* rgb */ color: rgb(223, 162, 255);
/* oklch */ color: oklch(80.3% 0.142 313.5);
Tailwind
colors: {
  custom: {
    50: '#eabeff',
    500: '#dfa2ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfa2ff;
$custom-light: #eabeff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa2ff",
  "rgb": {
    "r": 223,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 279.355,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80254,
    "c": 0.14224,
    "h": 313.5
  },
  "luminance": 0.48749
}

Semantic roles & 50–950 ramp

primary
#DFA2FF
secondary
#E0F7D4
accent
#E6004F
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161218
muted
#848186

Preview Lab

Preview with #DFA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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