#B28BDA#B28BDA

#B28BDA is a light, moderate violet. Relative luminance 0.330; OKLCH L 70.3% C 0.120 H 306.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B28BDA
RGBrgb(178, 139, 218)
HSLhsl(270, 52%, 70%)
HSVhsv(270, 36%, 85%)
CMYKcmyk(18.3%, 36.2%, 0%, 14.5%)
CIE-LABlab(64.15, 29.96, -34.88)
CIE-LCHlch(64.15, 45.98, 310.67°)
OKLaboklab(70.29% 0.0707 -0.0965)
OKLCHoklch(70.29% 0.12 306.2)
XYZxyz(40.2451, 32.9924, 70.5641)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BDA #B3DA8B
analogous
#8B8CDA #B28BDA #D98BDA
triadic
#B28BDA #DAB28B #8BDAB2
tetradic
#B28BDA #DA8B8C #B3DA8B #8BDAD9
square
#B28BDA #DA8B8C #B3DA8B #8BDAD9
split-complementary
#B28BDA #DAD98B #8CDA8B
monochromatic
#7539B2 #935DCB #B28BDA #D1B9E9 #F0E8F8

Accessibility & contrast

On white

2.76
#B28BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B28BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BDA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BDA#FFFFFF#000000##000000
##B28BDA1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b28bda;
/* rgb */ color: rgb(178, 139, 218);
/* oklch */ color: oklch(70.3% 0.120 306.2);
Tailwind
colors: {
  custom: {
    50: '#caade5',
    500: '#b28bda',
    950: '#000000',
  },
}
SCSS
$custom: #b28bda;
$custom-light: #caade5;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bda",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 218
  },
  "hsl": {
    "h": 269.62,
    "s": 51.634,
    "l": 70
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.11957,
    "h": 306.2
  },
  "luminance": 0.32992
}

Semantic roles & 50–950 ramp

primary
#B28BDA
secondary
#E1EBD5
accent
#BF2674
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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