#B28BD2#B28BD2

#B28BD2 is a light, moderate violet. Relative luminance 0.326; OKLCH L 69.9% C 0.109 H 308.9°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B28BD2
RGBrgb(178, 139, 210)
HSLhsl(273, 44%, 68%)
HSVhsv(273, 34%, 82%)
CMYKcmyk(15.2%, 33.8%, 0%, 17.6%)
CIE-LABlab(63.82, 28.19, -30.94)
CIE-LCHlch(63.82, 41.85, 312.34°)
OKLaboklab(69.93% 0.0688 -0.0852)
OKLCHoklch(69.93% 0.109 308.9)
XYZxyz(39.2234, 32.5838, 65.1832)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BD2 #ABD28B
analogous
#8E8BD2 #B28BD2 #D28BCE
triadic
#B28BD2 #D2B28B #8BD2B2
tetradic
#B28BD2 #D28E8B #ABD28B #8BCED2
square
#B28BD2 #D28E8B #ABD28B #8BCED2
split-complementary
#B28BD2 #CED28B #8BD28E
monochromatic
#763FA3 #955FC1 #B28BD2 #CFB7E3 #EDE3F4

Accessibility & contrast

On white

2.79
#B28BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B28BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BD2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BD2#FFFFFF#000000##000000
##B28BD21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E99D5
Deuteranopia (green-blind)
#869BD0
Tritanopia (blue-blind)
#AE95A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28bd2;
/* rgb */ color: rgb(178, 139, 210);
/* oklch */ color: oklch(69.9% 0.109 308.9);
Tailwind
colors: {
  custom: {
    50: '#caade0',
    500: '#b28bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b28bd2;
$custom-light: #caade0;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bd2",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 272.958,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69929,
    "c": 0.10947,
    "h": 308.9
  },
  "luminance": 0.32583
}

Semantic roles & 50–950 ramp

primary
#B28BD2
secondary
#DBE7D2
accent
#B72E6C
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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