#DFB3FF#DFB3FF

#DFB3FF is a very light, moderate violet. Relative luminance 0.551; OKLCH L 83.2% C 0.114 H 310.4°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#DFB3FF
RGBrgb(223, 179, 255)
HSLhsl(275, 100%, 85%)
HSVhsv(275, 30%, 100%)
CMYKcmyk(12.5%, 29.8%, 0%, 0%)
CIE-LABlab(79.13, 29.58, -31.57)
CIE-LCHlch(79.13, 43.26, 313.13°)
OKLaboklab(83.17% 0.0737 -0.0865)
OKLCHoklch(83.17% 0.114 310.4)
XYZxyz(64.5984, 55.1489, 101.8301)
Luminance0.5515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB3FF #D3FFB3
analogous
#B9B3FF #DFB3FF #FFB3F9
triadic
#DFB3FF #FFDFB3 #B3FFDF
tetradic
#DFB3FF #FFB9B3 #D3FFB3 #B3F9FF
square
#DFB3FF #FFB9B3 #D3FFB3 #B3F9FF
split-complementary
#DFB3FF #F9FFB3 #B3FFB9
monochromatic
#AB39FF #C576FF #DFB3FF #F2E0FF #F2E0FF

Accessibility & contrast

On white

1.75
#DFB3FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#DFB3FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB3FF
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB3FF#FFFFFF#000000##000000
##DFB3FF1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C2FF
Deuteranopia (green-blind)
#AFC5FD
Tritanopia (blue-blind)
#DCBDCE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #dfb3ff;
/* rgb */ color: rgb(223, 179, 255);
/* oklch */ color: oklch(83.2% 0.114 310.4);
Tailwind
colors: {
  custom: {
    50: '#e9caff',
    500: '#dfb3ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfb3ff;
$custom-light: #e9caff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb3ff",
  "rgb": {
    "r": 223,
    "g": 179,
    "b": 255
  },
  "hsl": {
    "h": 274.737,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.83168,
    "c": 0.11361,
    "h": 310.4
  },
  "luminance": 0.55148
}

Semantic roles & 50–950 ramp

primary
#DFB3FF
secondary
#A2E670
accent
#E60061
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #DFB3FF

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

Preview Lab → · Contrast checker → · Palette generator →

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