#B28BD9#B28BD9

#B28BD9 is a light, moderate violet. Relative luminance 0.329; OKLCH L 70.2% C 0.118 H 306.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#B28BD9
RGBrgb(178, 139, 217)
HSLhsl(270, 51%, 70%)
HSVhsv(270, 36%, 85%)
CMYKcmyk(18%, 35.9%, 0%, 14.9%)
CIE-LABlab(64.11, 29.74, -34.39)
CIE-LCHlch(64.11, 45.46, 310.85°)
OKLaboklab(70.25% 0.0704 -0.095)
OKLCHoklch(70.25% 0.118 306.5)
XYZxyz(40.1147, 32.9402, 69.8770)
Luminance0.3294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BD9 #B2D98B
analogous
#8B8BD9 #B28BD9 #D98BD9
triadic
#B28BD9 #D9B28B #8BD9B2
tetradic
#B28BD9 #D98B8B #B2D98B #8BD9D9
square
#B28BD9 #D98B8B #B2D98B #8BD9D9
split-complementary
#B28BD9 #D9D98B #8BD98B
monochromatic
#753AB0 #935DCA #B28BD9 #D1B9E8 #EFE7F7

Accessibility & contrast

On white

2.77
#B28BD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#B28BD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BD9
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BD9#FFFFFF#000000##000000
##B28BD91.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADC
Deuteranopia (green-blind)
#839CD7
Tritanopia (blue-blind)
#AC97A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28bd9;
/* rgb */ color: rgb(178, 139, 217);
/* oklch */ color: oklch(70.2% 0.118 306.5);
Tailwind
colors: {
  custom: {
    50: '#caade5',
    500: '#b28bd9',
    950: '#000000',
  },
}
SCSS
$custom: #b28bd9;
$custom-light: #caade5;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bd9",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 217
  },
  "hsl": {
    "h": 270,
    "s": 50.649,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70245,
    "c": 0.11829,
    "h": 306.5
  },
  "luminance": 0.3294
}

Semantic roles & 50–950 ramp

primary
#B28BD9
secondary
#E0EBD5
accent
#BE2773
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131015
muted
#827F84

Preview Lab

Preview with #B28BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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