#D2B2FB#D2B2FB

#D2B2FB is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.7% C 0.106 H 304.2°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#D2B2FB
RGBrgb(210, 178, 251)
HSLhsl(266, 90%, 84%)
HSVhsv(266, 29%, 98%)
CMYKcmyk(16.3%, 29.1%, 0%, 1.6%)
CIE-LABlab(77.58, 25.32, -31.90)
CIE-LCHlch(77.58, 40.73, 308.44°)
OKLaboklab(81.66% 0.0596 -0.0876)
OKLCHoklch(81.66% 0.106 304.2)
XYZxyz(59.9079, 52.5076, 98.2270)
Luminance0.5251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B2FB #DBFBB2
analogous
#B2B7FB #D2B2FB #F6B2FB
triadic
#D2B2FB #FBD2B2 #B2FBD2
tetradic
#D2B2FB #FBB2B7 #DBFBB2 #B2FBF6
square
#D2B2FB #FBB2B7 #DBFBB2 #B2FBF6
split-complementary
#D2B2FB #FBF6B2 #B7FBB2
monochromatic
#8E3EF5 #B078F8 #D2B2FB #EEE2FD #EEE2FD

Accessibility & contrast

On white

1.83
#D2B2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#D2B2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B2FB
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B2FB#FFFFFF#000000##000000
##D2B2FB1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BFFE
Deuteranopia (green-blind)
#AAC0F9
Tritanopia (blue-blind)
#CCBDCC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2b2fb;
/* rgb */ color: rgb(210, 178, 251);
/* oklch */ color: oklch(81.7% 0.106 304.2);
Tailwind
colors: {
  custom: {
    50: '#e0c9fd',
    500: '#d2b2fb',
    950: '#000000',
  },
}
SCSS
$custom: #d2b2fb;
$custom-light: #e0c9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b2fb",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 251
  },
  "hsl": {
    "h": 266.301,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.81663,
    "c": 0.10595,
    "h": 304.2
  },
  "luminance": 0.52507
}

Semantic roles & 50–950 ramp

primary
#D2B2FB
secondary
#AFDF72
accent
#E60081
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D2B2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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