#D8BAFF#D8BAFF

#D8BAFF is a very light, moderate violet. Relative luminance 0.569; OKLCH L 83.8% C 0.100 H 304.2°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D8BAFF
RGBrgb(216, 186, 255)
HSLhsl(266, 100%, 86%)
HSVhsv(266, 27%, 100%)
CMYKcmyk(15.3%, 27.1%, 0%, 0%)
CIE-LABlab(80.14, 23.66, -30.06)
CIE-LCHlch(80.14, 38.26, 308.20°)
OKLaboklab(83.8% 0.056 -0.0824)
OKLCHoklch(83.8% 0.1 304.2)
XYZxyz(63.9243, 56.9369, 102.2106)
Luminance0.5694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BAFF #E1FFBA
analogous
#BABFFF #D8BAFF #FBBAFF
triadic
#D8BAFF #FFD8BA #BAFFD8
tetradic
#D8BAFF #FFBABF #E1FFBA #BAFFFB
square
#D8BAFF #FFBABF #E1FFBA #BAFFFB
split-complementary
#D8BAFF #FFFBBA #BFFFBA
monochromatic
#9340FF #B57DFF #D8BAFF #EEE0FF #EEE0FF

Accessibility & contrast

On white

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

On black

12.39
#D8BAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BAFF
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BAFF#FFFFFF#000000##000000
##D8BAFF1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADC6FF
Deuteranopia (green-blind)
#B2C7FD
Tritanopia (blue-blind)
#D2C4D2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d8baff;
/* rgb */ color: rgb(216, 186, 255);
/* oklch */ color: oklch(83.8% 0.100 304.2);
Tailwind
colors: {
  custom: {
    50: '#e4cfff',
    500: '#d8baff',
    950: '#000000',
  },
}
SCSS
$custom: #d8baff;
$custom-light: #e4cfff;
$custom-dark: #000000;
JSON
{
  "hex": "#d8baff",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 255
  },
  "hsl": {
    "h": 266.087,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.83802,
    "c": 0.09959,
    "h": 304.2
  },
  "luminance": 0.56937
}

Semantic roles & 50–950 ramp

primary
#D8BAFF
secondary
#B6E776
accent
#E60082
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #D8BAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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