#D2B2EF#D2B2EF

#D2B2EF is a light, moderate violet. Relative luminance 0.518; OKLCH L 81.2% C 0.091 H 308.3°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#D2B2EF
RGBrgb(210, 178, 239)
HSLhsl(271, 66%, 82%)
HSVhsv(271, 26%, 94%)
CMYKcmyk(12.1%, 25.5%, 0%, 6.3%)
CIE-LABlab(77.15, 22.79, -26.11)
CIE-LCHlch(77.15, 34.66, 311.12°)
OKLaboklab(81.18% 0.0562 -0.0712)
OKLCHoklch(81.18% 0.091 308.3)
XYZxyz(58.0759, 51.7748, 88.5787)
Luminance0.5177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B2EF #CFEFB2
analogous
#B4B2EF #D2B2EF #EFB2EE
triadic
#D2B2EF #EFD2B2 #B2EFD2
tetradic
#D2B2EF #EFB4B2 #CFEFB2 #B2EEEF
square
#D2B2EF #EFB4B2 #CFEFB2 #B2EEEF
split-complementary
#D2B2EF #EEEFB2 #B2EFB4
monochromatic
#974DDA #B47FE4 #D2B2EF #F0E5FA #F0E6FA

Accessibility & contrast

On white

1.85
#D2B2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#D2B2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B2EF
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B2EF#FFFFFF#000000##000000
##D2B2EF1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BDF2
Deuteranopia (green-blind)
#AEBFED
Tritanopia (blue-blind)
#CFBAC7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2b2ef;
/* rgb */ color: rgb(210, 178, 239);
/* oklch */ color: oklch(81.2% 0.091 308.3);
Tailwind
colors: {
  custom: {
    50: '#e0c9f4',
    500: '#d2b2ef',
    950: '#000000',
  },
}
SCSS
$custom: #d2b2ef;
$custom-light: #e0c9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b2ef",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 239
  },
  "hsl": {
    "h": 271.475,
    "s": 65.591,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81183,
    "c": 0.09076,
    "h": 308.3
  },
  "luminance": 0.51774
}

Semantic roles & 50–950 ramp

primary
#D2B2EF
secondary
#A1CD78
accent
#CD186E
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #D2B2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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