#D2B5FF#D2B5FF

#D2B5FF is a very light, moderate violet. Relative luminance 0.540; OKLCH L 82.4% C 0.106 H 302.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#D2B5FF
RGBrgb(210, 181, 255)
HSLhsl(264, 100%, 85%)
HSVhsv(264, 29%, 100%)
CMYKcmyk(17.6%, 29%, 0%, 0%)
CIE-LABlab(78.44, 24.55, -32.72)
CIE-LCHlch(78.44, 40.91, 306.88°)
OKLaboklab(82.37% 0.0564 -0.09)
OKLCHoklch(82.37% 0.106 302.1)
XYZxyz(61.1485, 53.9694, 101.7840)
Luminance0.5397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2B5FF #E2FFB5
analogous
#B5BDFF #D2B5FF #F7B5FF
triadic
#D2B5FF #FFD2B5 #B5FFD2
tetradic
#D2B5FF #FFB5BD #E2FFB5 #B5FFF7
square
#D2B5FF #FFB5BD #E2FFB5 #B5FFF7
split-complementary
#D2B5FF #FFF7B5 #BDFFB5
monochromatic
#883BFF #AD78FF #D2B5FF #ECE0FF #ECE0FF

Accessibility & contrast

On white

1.78
#D2B5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#D2B5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2B5FF
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2B5FF#FFFFFF#000000##000000
##D2B5FF1.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C1FF
Deuteranopia (green-blind)
#ABC2FD
Tritanopia (blue-blind)
#CBC0CF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2b5ff;
/* rgb */ color: rgb(210, 181, 255);
/* oklch */ color: oklch(82.4% 0.106 302.1);
Tailwind
colors: {
  custom: {
    50: '#e0cbff',
    500: '#d2b5ff',
    950: '#000000',
  },
}
SCSS
$custom: #d2b5ff;
$custom-light: #e0cbff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2b5ff",
  "rgb": {
    "r": 210,
    "g": 181,
    "b": 255
  },
  "hsl": {
    "h": 263.514,
    "s": 100,
    "l": 85.49
  },
  "oklch": {
    "l": 0.82373,
    "c": 0.10619,
    "h": 302.1
  },
  "luminance": 0.53969
}

Semantic roles & 50–950 ramp

primary
#D2B5FF
secondary
#B9E672
accent
#E6008C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D2B5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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