#B28DCE#B28DCE

#B28DCE is a light, moderate violet. Relative luminance 0.330; OKLCH L 70.1% C 0.101 H 309.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#B28DCE
RGBrgb(178, 141, 206)
HSLhsl(274, 40%, 68%)
HSVhsv(274, 32%, 81%)
CMYKcmyk(13.6%, 31.6%, 0%, 19.2%)
CIE-LABlab(64.14, 26.20, -28.21)
CIE-LCHlch(64.14, 38.50, 312.88°)
OKLaboklab(70.12% 0.0648 -0.0774)
OKLCHoklch(70.12% 0.101 309.9)
XYZxyz(39.0236, 32.9714, 62.6889)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28DCE #A9CE8D
analogous
#918DCE #B28DCE #CE8DC9
triadic
#B28DCE #CEB28D #8DCEB2
tetradic
#B28DCE #CE918D #A9CE8D #8DC9CE
square
#B28DCE #CE918D #A9CE8D #8DC9CE
split-complementary
#B28DCE #C9CE8D #8DCE91
monochromatic
#77449D #9562BC #B28DCE #CFB8E0 #ECE3F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28DCE#FFFFFF#000000##000000
##B28DCE1.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)
#829AD1
Deuteranopia (green-blind)
#899CCC
Tritanopia (blue-blind)
#AF96A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28dce;
/* rgb */ color: rgb(178, 141, 206);
/* oklch */ color: oklch(70.1% 0.101 309.9);
Tailwind
colors: {
  custom: {
    50: '#caaedd',
    500: '#b28dce',
    950: '#000000',
  },
}
SCSS
$custom: #b28dce;
$custom-light: #caaedd;
$custom-dark: #000000;
JSON
{
  "hex": "#b28dce",
  "rgb": {
    "r": 178,
    "g": 141,
    "b": 206
  },
  "hsl": {
    "h": 274.154,
    "s": 39.877,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70117,
    "c": 0.10098,
    "h": 309.9
  },
  "luminance": 0.32971
}

Semantic roles & 50–950 ramp

primary
#B28DCE
secondary
#DAE5D1
accent
#B3336A
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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