#D2BAFF#D2BAFF

#D2BAFF is a very light, moderate violet. Relative luminance 0.560; OKLCH L 83.3% C 0.098 H 300.2°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D2BAFF
RGBrgb(210, 186, 255)
HSLhsl(261, 100%, 86%)
HSVhsv(261, 27%, 100%)
CMYKcmyk(17.6%, 27.1%, 0%, 0%)
CIE-LABlab(79.64, 21.83, -30.89)
CIE-LCHlch(79.64, 37.82, 305.26°)
OKLaboklab(83.29% 0.0494 -0.0848)
OKLCHoklch(83.29% 0.098 300.2)
XYZxyz(62.1835, 56.0393, 102.1290)
Luminance0.5604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BAFF #E7FFBA
analogous
#BAC5FF #D2BAFF #F5BAFF
triadic
#D2BAFF #FFD2BA #BAFFD2
tetradic
#D2BAFF #FFBAC5 #E7FFBA #BAFFF5
square
#D2BAFF #FFBAC5 #E7FFBA #BAFFF5
split-complementary
#D2BAFF #FFF5BA #C5FFBA
monochromatic
#8240FF #AA7DFF #D2BAFF #EBE0FF #EBE0FF

Accessibility & contrast

On white

1.72
#D2BAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D2BAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BAFF
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BAFF#FFFFFF#000000##000000
##D2BAFF1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC5FF
Deuteranopia (green-blind)
#AFC5FD
Tritanopia (blue-blind)
#CAC4D2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2baff;
/* rgb */ color: rgb(210, 186, 255);
/* oklch */ color: oklch(83.3% 0.098 300.2);
Tailwind
colors: {
  custom: {
    50: '#e0ceff',
    500: '#d2baff',
    950: '#000000',
  },
}
SCSS
$custom: #d2baff;
$custom-light: #e0ceff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2baff",
  "rgb": {
    "r": 210,
    "g": 186,
    "b": 255
  },
  "hsl": {
    "h": 260.87,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.83289,
    "c": 0.09812,
    "h": 300.2
  },
  "luminance": 0.56039
}

Semantic roles & 50–950 ramp

primary
#D2BAFF
secondary
#C0E776
accent
#E60096
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #D2BAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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