#DFB7FF#DFB7FF

#DFB7FF is a very light, moderate violet. Relative luminance 0.568; OKLCH L 83.9% C 0.107 H 309.5°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#DFB7FF
RGBrgb(223, 183, 255)
HSLhsl(273, 100%, 86%)
HSVhsv(273, 28%, 100%)
CMYKcmyk(12.5%, 28.2%, 0%, 0%)
CIE-LABlab(80.05, 27.42, -30.15)
CIE-LCHlch(80.05, 40.75, 312.29°)
OKLaboklab(83.88% 0.068 -0.0825)
OKLCHoklch(83.88% 0.107 309.5)
XYZxyz(65.4117, 56.7756, 102.1012)
Luminance0.5677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFB7FF #D7FFB7
analogous
#BBB7FF #DFB7FF #FFB7FB
triadic
#DFB7FF #FFDFB7 #B7FFDF
tetradic
#DFB7FF #FFBBB7 #D7FFB7 #B7FBFF
square
#DFB7FF #FFBBB7 #D7FFB7 #B7FBFF
split-complementary
#DFB7FF #FBFFB7 #B7FFBB
monochromatic
#A93DFF #C47AFF #DFB7FF #F1E0FF #F1E0FF

Accessibility & contrast

On white

1.70
#DFB7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#DFB7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFB7FF
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFB7FF#FFFFFF#000000##000000
##DFB7FF1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABC5FF
Deuteranopia (green-blind)
#B3C7FD
Tritanopia (blue-blind)
#DBC1D1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #dfb7ff;
/* rgb */ color: rgb(223, 183, 255);
/* oklch */ color: oklch(83.9% 0.107 309.5);
Tailwind
colors: {
  custom: {
    50: '#e9cdff',
    500: '#dfb7ff',
    950: '#000000',
  },
}
SCSS
$custom: #dfb7ff;
$custom-light: #e9cdff;
$custom-dark: #000000;
JSON
{
  "hex": "#dfb7ff",
  "rgb": {
    "r": 223,
    "g": 183,
    "b": 255
  },
  "hsl": {
    "h": 273.333,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.83877,
    "c": 0.10688,
    "h": 309.5
  },
  "luminance": 0.56775
}

Semantic roles & 50–950 ramp

primary
#DFB7FF
secondary
#A7E674
accent
#E60066
background
#FEFEFF
surface
#FDFAFF
border
#D5D3D7
text
#161318
muted
#848386

Preview Lab

Preview with #DFB7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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