#D7BAFF#D7BAFF

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

Color values

HEX#D7BAFF
RGBrgb(215, 186, 255)
HSLhsl(265, 100%, 86%)
HSVhsv(265, 27%, 100%)
CMYKcmyk(15.7%, 27.1%, 0%, 0%)
CIE-LABlab(80.06, 23.35, -30.20)
CIE-LCHlch(80.06, 38.18, 307.71°)
OKLaboklab(83.71% 0.0549 -0.0828)
OKLCHoklch(83.71% 0.099 303.6)
XYZxyz(63.6296, 56.7850, 102.1968)
Luminance0.5678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BAFF #E2FFBA
analogous
#BAC0FF #D7BAFF #F9BAFF
triadic
#D7BAFF #FFD7BA #BAFFD7
tetradic
#D7BAFF #FFBAC0 #E2FFBA #BAFFF9
square
#D7BAFF #FFBAC0 #E2FFBA #BAFFF9
split-complementary
#D7BAFF #FFF9BA #C0FFBA
monochromatic
#9040FF #B47DFF #D7BAFF #EDE0FF #EDE0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BAFF#FFFFFF#000000##000000
##D7BAFF1.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)
#ADC6FF
Deuteranopia (green-blind)
#B2C7FD
Tritanopia (blue-blind)
#D1C4D2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7baff;
/* rgb */ color: rgb(215, 186, 255);
/* oklch */ color: oklch(83.7% 0.099 303.6);
Tailwind
colors: {
  custom: {
    50: '#e4cfff',
    500: '#d7baff',
    950: '#000000',
  },
}
SCSS
$custom: #d7baff;
$custom-light: #e4cfff;
$custom-dark: #000000;
JSON
{
  "hex": "#d7baff",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 255
  },
  "hsl": {
    "h": 265.217,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.83715,
    "c": 0.09932,
    "h": 303.6
  },
  "luminance": 0.56785
}

Semantic roles & 50–950 ramp

primary
#D7BAFF
secondary
#B8E776
accent
#E60085
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151318
muted
#848386

Preview Lab

Preview with #D7BAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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