#B28DCA#B28DCA

#B28DCA is a light, moderate violet. Relative luminance 0.328; OKLCH L 69.9% C 0.096 H 311.6°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B28DCA
RGBrgb(178, 141, 202)
HSLhsl(276, 37%, 67%)
HSVhsv(276, 30%, 79%)
CMYKcmyk(11.9%, 30.2%, 0%, 20.8%)
CIE-LABlab(63.98, 25.34, -26.22)
CIE-LCHlch(63.98, 36.46, 314.03°)
OKLaboklab(69.95% 0.0637 -0.0718)
OKLCHoklch(69.95% 0.096 311.6)
XYZxyz(38.5438, 32.7795, 60.1622)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28DCA #A5CA8D
analogous
#938DCA #B28DCA #CA8DC4
triadic
#B28DCA #CAB28D #8DCAB2
tetradic
#B28DCA #CA938D #A5CA8D #8DC4CA
square
#B28DCA #CA938D #A5CA8D #8DC4CA
split-complementary
#B28DCA #C4CA8D #8DCA93
monochromatic
#774697 #9663B7 #B28DCA #CEB7DD #EAE1F1

Accessibility & contrast

On white

2.78
#B28DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B28DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28DCA
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28DCA#FFFFFF#000000##000000
##B28DCA1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CC
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#B095A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28dca;
/* rgb */ color: rgb(178, 141, 202);
/* oklch */ color: oklch(69.9% 0.096 311.6);
Tailwind
colors: {
  custom: {
    50: '#c9aeda',
    500: '#b28dca',
    950: '#000000',
  },
}
SCSS
$custom: #b28dca;
$custom-light: #c9aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#b28dca",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 276.393,
    "s": 36.527,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69947,
    "c": 0.09598,
    "h": 311.6
  },
  "luminance": 0.32779
}

Semantic roles & 50–950 ramp

primary
#B28DCA
secondary
#D7E3D0
accent
#AF3666
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131014
muted
#827F83

Preview Lab

Preview with #B28DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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