#DFA6FF#DFA6FF

#DFA6FF is a light, vivid violet. Relative luminance 0.502; OKLCH L 80.9% C 0.136 H 312.8°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#DFA6FF
RGBrgb(223, 166, 255)
HSLhsl(278, 100%, 83%)
HSVhsv(278, 35%, 100%)
CMYKcmyk(12.5%, 34.9%, 0%, 0%)
CIE-LABlab(76.18, 36.57, -36.12)
CIE-LCHlch(76.18, 51.40, 315.35°)
OKLaboklab(80.92% 0.0922 -0.0993)
OKLCHoklch(80.92% 0.136 312.8)
XYZxyz(62.1146, 50.1815, 101.0022)
Luminance0.5018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFA6FF #C6FFA6
analogous
#B2A6FF #DFA6FF #FFA6F2
triadic
#DFA6FF #FFDFA6 #A6FFDF
tetradic
#DFA6FF #FFB2A6 #C6FFA6 #A6F2FF
square
#DFA6FF #FFB2A6 #C6FFA6 #A6F2FF
split-complementary
#DFA6FF #F2FFA6 #A6FFB2
monochromatic
#B32CFF #C969FF #DFA6FF #F4E0FF #F4E0FF

Accessibility & contrast

On white

1.90
#DFA6FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#DFA6FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFA6FF
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFA6FF#FFFFFF#000000##000000
##DFA6FF1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B9FF
Deuteranopia (green-blind)
#A4BDFC
Tritanopia (blue-blind)
#DCB2C7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dfa6ff;
/* rgb */ color: rgb(223, 166, 255);
/* oklch */ color: oklch(80.9% 0.136 312.8);
Tailwind
colors: {
  custom: {
    50: '#eac1ff',
    500: '#dfa6ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfa6ff;
$custom-light: #eac1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfa6ff",
  "rgb": {
    "r": 223,
    "g": 166,
    "b": 255
  },
  "hsl": {
    "h": 278.427,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.80924,
    "c": 0.13551,
    "h": 312.8
  },
  "luminance": 0.5018
}

Semantic roles & 50–950 ramp

primary
#DFA6FF
secondary
#93E465
accent
#E60053
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161218
muted
#848286

Preview Lab

Preview with #DFA6FF

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

Preview Lab → · Contrast checker → · Palette generator →

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