#B28BD3#B28BD3

#B28BD3 is a light, moderate violet. Relative luminance 0.326; OKLCH L 70.0% C 0.111 H 308.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B28BD3
RGBrgb(178, 139, 211)
HSLhsl(273, 45%, 69%)
HSVhsv(273, 34%, 83%)
CMYKcmyk(15.6%, 34.1%, 0%, 17.3%)
CIE-LABlab(63.86, 28.41, -31.43)
CIE-LCHlch(63.86, 42.37, 312.11°)
OKLaboklab(69.97% 0.069 -0.0866)
OKLCHoklch(69.97% 0.111 308.6)
XYZxyz(39.3484, 32.6337, 65.8414)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BD3 #ACD38B
analogous
#8E8BD3 #B28BD3 #D38BD0
triadic
#B28BD3 #D3B28B #8BD3B2
tetradic
#B28BD3 #D38E8B #ACD38B #8BD0D3
square
#B28BD3 #D38E8B #ACD38B #8BD0D3
split-complementary
#B28BD3 #D0D38B #8BD38E
monochromatic
#763FA5 #955FC2 #B28BD3 #CFB7E4 #EDE4F5

Accessibility & contrast

On white

2.79
#B28BD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B28BD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BD3
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BD3#FFFFFF#000000##000000
##B28BD31.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D99D6
Deuteranopia (green-blind)
#869BD1
Tritanopia (blue-blind)
#AE95A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28bd3;
/* rgb */ color: rgb(178, 139, 211);
/* oklch */ color: oklch(70.0% 0.111 308.6);
Tailwind
colors: {
  custom: {
    50: '#caade0',
    500: '#b28bd3',
    950: '#000000',
  },
}
SCSS
$custom: #b28bd3;
$custom-light: #caade0;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bd3",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 211
  },
  "hsl": {
    "h": 272.5,
    "s": 45,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69974,
    "c": 0.11073,
    "h": 308.6
  },
  "luminance": 0.32633
}

Semantic roles & 50–950 ramp

primary
#B28BD3
secondary
#DCE8D2
accent
#B82D6D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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