#B28DEB#B28DEB

#B28DEB is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.5% C 0.138 H 301.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B28DEB
RGBrgb(178, 141, 235)
HSLhsl(264, 70%, 74%)
HSVhsv(264, 40%, 92%)
CMYKcmyk(24.3%, 40%, 0%, 7.8%)
CIE-LABlab(65.37, 32.75, -42.40)
CIE-LCHlch(65.37, 53.57, 307.68°)
OKLaboklab(71.46% 0.0713 -0.1181)
OKLCHoklch(71.46% 0.138 301.1)
XYZxyz(42.8771, 34.5128, 82.9839)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28DEB #C6EB8D
analogous
#8D97EB #B28DEB #E18DEB
triadic
#B28DEB #EBB28D #8DEBB2
tetradic
#B28DEB #EB8D97 #C6EB8D #8DEBE1
square
#B28DEB #EB8D97 #C6EB8D #8DEBE1
split-complementary
#B28DEB #EBE18D #97EB8D
monochromatic
#6C26D8 #8F59E2 #B28DEB #D5C1F4 #EDE5FA

Accessibility & contrast

On white

2.66
#B28DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#B28DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28DEB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28DEB#FFFFFF#000000##000000
##B28DEB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EEF
Deuteranopia (green-blind)
#7D9EE9
Tritanopia (blue-blind)
#A89DB1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b28deb;
/* rgb */ color: rgb(178, 141, 235);
/* oklch */ color: oklch(71.5% 0.138 301.1);
Tailwind
colors: {
  custom: {
    50: '#cbaff2',
    500: '#b28deb',
    950: '#000000',
  },
}
SCSS
$custom: #b28deb;
$custom-light: #cbaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b28deb",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 263.617,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71456,
    "c": 0.138,
    "h": 301.1
  },
  "luminance": 0.34513
}

Semantic roles & 50–950 ramp

primary
#B28DEB
secondary
#E8F2D9
accent
#D21387
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B28DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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