#D4BAFF#D4BAFF

#D4BAFF is a very light, moderate violet. Relative luminance 0.563; OKLCH L 83.5% C 0.099 H 301.6°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#D4BAFF
RGBrgb(212, 186, 255)
HSLhsl(263, 100%, 86%)
HSVhsv(263, 27%, 100%)
CMYKcmyk(16.9%, 27.1%, 0%, 0%)
CIE-LABlab(79.80, 22.44, -30.61)
CIE-LCHlch(79.80, 37.96, 306.24°)
OKLaboklab(83.46% 0.0516 -0.084)
OKLCHoklch(83.46% 0.099 301.6)
XYZxyz(62.7566, 56.3348, 102.1559)
Luminance0.5634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BAFF #E5FFBA
analogous
#BAC3FF #D4BAFF #F7BAFF
triadic
#D4BAFF #FFD4BA #BAFFD4
tetradic
#D4BAFF #FFBAC3 #E5FFBA #BAFFF7
square
#D4BAFF #FFBAC3 #E5FFBA #BAFFF7
split-complementary
#D4BAFF #FFF7BA #C3FFBA
monochromatic
#8840FF #AE7DFF #D4BAFF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.71
#D4BAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#D4BAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BAFF
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BAFF#FFFFFF#000000##000000
##D4BAFF1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC5FF
Deuteranopia (green-blind)
#B0C6FD
Tritanopia (blue-blind)
#CDC4D2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4baff;
/* rgb */ color: rgb(212, 186, 255);
/* oklch */ color: oklch(83.5% 0.099 301.6);
Tailwind
colors: {
  custom: {
    50: '#e2ceff',
    500: '#d4baff',
    950: '#000000',
  },
}
SCSS
$custom: #d4baff;
$custom-light: #e2ceff;
$custom-dark: #000000;
JSON
{
  "hex": "#d4baff",
  "rgb": {
    "r": 212,
    "g": 186,
    "b": 255
  },
  "hsl": {
    "h": 262.609,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.83459,
    "c": 0.09856,
    "h": 301.6
  },
  "luminance": 0.56335
}

Semantic roles & 50–950 ramp

primary
#D4BAFF
secondary
#BCE776
accent
#E6008F
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #D4BAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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