#B28BCD#B28BCD

#B28BCD is a light, moderate violet. Relative luminance 0.323; OKLCH L 69.7% C 0.103 H 310.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B28BCD
RGBrgb(178, 139, 205)
HSLhsl(275, 40%, 67%)
HSVhsv(275, 32%, 80%)
CMYKcmyk(13.2%, 32.2%, 0%, 19.6%)
CIE-LABlab(63.62, 27.11, -28.45)
CIE-LCHlch(63.62, 39.30, 313.61°)
OKLaboklab(69.71% 0.0675 -0.0781)
OKLCHoklch(69.71% 0.103 310.8)
XYZxyz(38.6102, 32.3385, 61.9537)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BCD #A6CD8B
analogous
#918BCD #B28BCD #CD8BC7
triadic
#B28BCD #CDB28B #8BCDB2
tetradic
#B28BCD #CD918B #A6CD8B #8BC7CD
square
#B28BCD #CD918B #A6CD8B #8BC7CD
split-complementary
#B28BCD #C7CD8B #8BCD91
monochromatic
#77439B #9660BB #B28BCD #CEB6DF #EBE1F2

Accessibility & contrast

On white

2.81
#B28BCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B28BCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BCD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BCD#FFFFFF#000000##000000
##B28BCD1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098D0
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#AF94A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b28bcd;
/* rgb */ color: rgb(178, 139, 205);
/* oklch */ color: oklch(69.7% 0.103 310.8);
Tailwind
colors: {
  custom: {
    50: '#caaddc',
    500: '#b28bcd',
    950: '#000000',
  },
}
SCSS
$custom: #b28bcd;
$custom-light: #caaddc;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bcd",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 205
  },
  "hsl": {
    "h": 275.455,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6971,
    "c": 0.10323,
    "h": 310.8
  },
  "luminance": 0.32338
}

Semantic roles & 50–950 ramp

primary
#B28BCD
secondary
#D8E4D0
accent
#B33367
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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