#D4BAFA#D4BAFA

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

Color values

HEX#D4BAFA
RGBrgb(212, 186, 250)
HSLhsl(264, 86%, 85%)
HSVhsv(264, 26%, 98%)
CMYKcmyk(15.2%, 25.6%, 0%, 2%)
CIE-LABlab(79.62, 21.37, -28.21)
CIE-LCHlch(79.62, 35.40, 307.14°)
OKLaboklab(83.26% 0.0502 -0.0772)
OKLCHoklch(83.26% 0.092 303)
XYZxyz(61.9622, 56.0170, 97.9720)
Luminance0.5602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BAFA #E0FABA
analogous
#BAC0FA #D4BAFA #F4BAFA
triadic
#D4BAFA #FAD4BA #BAFAD4
tetradic
#D4BAFA #FABAC0 #E0FABA #BAFAF4
square
#D4BAFA #FABAC0 #E0FABA #BAFAF4
split-complementary
#D4BAFA #FAF4BA #C0FABA
monochromatic
#8D48F2 #B081F6 #D4BAFA #EDE2FD #EDE2FD

Accessibility & contrast

On white

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

On black

12.20
#D4BAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BAFA
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BAFA#FFFFFF#000000##000000
##D4BAFA1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC5FD
Deuteranopia (green-blind)
#B2C5F8
Tritanopia (blue-blind)
#CEC3D0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d4bafa;
/* rgb */ color: rgb(212, 186, 250);
/* oklch */ color: oklch(83.3% 0.092 303.0);
Tailwind
colors: {
  custom: {
    50: '#e1cefc',
    500: '#d4bafa',
    950: '#000000',
  },
}
SCSS
$custom: #d4bafa;
$custom-light: #e1cefc;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bafa",
  "rgb": {
    "r": 212,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 264.375,
    "s": 86.486,
    "l": 85.49
  },
  "oklch": {
    "l": 0.8326,
    "c": 0.09208,
    "h": 303
  },
  "luminance": 0.56017
}

Semantic roles & 50–950 ramp

primary
#D4BAFA
secondary
#B6DE7A
accent
#E30288
background
#FEFEFF
surface
#FCFBFF
border
#D5D4D7
text
#151317
muted
#848385

Preview Lab

Preview with #D4BAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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