#D2B2FF#D2B2FF

#D2B2FF is a light, moderate violet. Relative luminance 0.528; OKLCH L 81.8% C 0.111 H 303.1°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D2B2FF
RGBrgb(210, 178, 255)
HSLhsl(265, 100%, 85%)
HSVhsv(265, 30%, 100%)
CMYKcmyk(17.6%, 30.2%, 0%, 0%)
CIE-LABlab(77.73, 26.18, -33.82)
CIE-LCHlch(77.73, 42.77, 307.75°)
OKLaboklab(81.83% 0.0606 -0.0931)
OKLCHoklch(81.83% 0.111 303.1)
XYZxyz(60.5451, 52.7625, 101.5829)
Luminance0.5276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B2FF #DFFFB2
analogous
#B2B9FF #D2B2FF #F8B2FF
triadic
#D2B2FF #FFD2B2 #B2FFD2
tetradic
#D2B2FF #FFB2B9 #DFFFB2 #B2FFF8
square
#D2B2FF #FFB2B9 #DFFFB2 #B2FFF8
split-complementary
#D2B2FF #FFF8B2 #B9FFB2
monochromatic
#8A38FF #AE75FF #D2B2FF #EDE0FF #EDE0FF

Accessibility & contrast

On white

1.82
#D2B2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#D2B2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B2FF
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B2FF#FFFFFF#000000##000000
##D2B2FF1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BFFF
Deuteranopia (green-blind)
#A8C0FD
Tritanopia (blue-blind)
#CBBDCE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2b2ff;
/* rgb */ color: rgb(210, 178, 255);
/* oklch */ color: oklch(81.8% 0.111 303.1);
Tailwind
colors: {
  custom: {
    50: '#e0c9ff',
    500: '#d2b2ff',
    950: '#000000',
  },
}
SCSS
$custom: #d2b2ff;
$custom-light: #e0c9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b2ff",
  "rgb": {
    "r": 210,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 264.935,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81829,
    "c": 0.11106,
    "h": 303.1
  },
  "luminance": 0.52762
}

Semantic roles & 50–950 ramp

primary
#D2B2FF
secondary
#B5E670
accent
#E60086
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D2B2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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