#DFAAFF#DFAAFF

#DFAAFF is a light, vivid violet. Relative luminance 0.517; OKLCH L 81.6% C 0.129 H 312.2°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#DFAAFF
RGBrgb(223, 170, 255)
HSLhsl(277, 100%, 83%)
HSVhsv(277, 33%, 100%)
CMYKcmyk(12.5%, 33.3%, 0%, 0%)
CIE-LABlab(77.08, 34.42, -34.74)
CIE-LCHlch(77.08, 48.90, 314.74°)
OKLaboklab(81.61% 0.0865 -0.0954)
OKLCHoklch(81.61% 0.129 312.2)
XYZxyz(62.8531, 51.6584, 101.2483)
Luminance0.5166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAAFF #CAFFAA
analogous
#B4AAFF #DFAAFF #FFAAF4
triadic
#DFAAFF #FFDFAA #AAFFDF
tetradic
#DFAAFF #FFB4AA #CAFFAA #AAF4FF
square
#DFAAFF #FFB4AA #CAFFAA #AAF4FF
split-complementary
#DFAAFF #F4FFAA #AAFFB4
monochromatic
#B130FF #C86DFF #DFAAFF #F3E0FF #F3E0FF

Accessibility & contrast

On white

1.85
#DFAAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#DFAAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAAFF
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAAFF#FFFFFF#000000##000000
##DFAAFF1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#A8C0FC
Tritanopia (blue-blind)
#DCB5C9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dfaaff;
/* rgb */ color: rgb(223, 170, 255);
/* oklch */ color: oklch(81.6% 0.129 312.2);
Tailwind
colors: {
  custom: {
    50: '#eac4ff',
    500: '#dfaaff',
    950: '#000000',
  },
}
SCSS
$custom: #dfaaff;
$custom-light: #eac4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaaff",
  "rgb": {
    "r": 223,
    "g": 170,
    "b": 255
  },
  "hsl": {
    "h": 277.412,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.81605,
    "c": 0.12879,
    "h": 312.2
  },
  "luminance": 0.51657
}

Semantic roles & 50–950 ramp

primary
#DFAAFF
secondary
#97E469
accent
#E60056
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #DFAAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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