#B28CD3#B28CD3

#B28CD3 is a light, moderate violet. Relative luminance 0.329; OKLCH L 70.2% C 0.109 H 308.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#B28CD3
RGBrgb(178, 140, 211)
HSLhsl(272, 45%, 69%)
HSVhsv(272, 34%, 83%)
CMYKcmyk(15.6%, 33.6%, 0%, 17.3%)
CIE-LABlab(64.10, 27.85, -31.06)
CIE-LCHlch(64.10, 41.72, 311.88°)
OKLaboklab(70.15% 0.0676 -0.0855)
OKLCHoklch(70.15% 0.109 308.3)
XYZxyz(39.4939, 32.9247, 65.8899)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28CD3 #ADD38C
analogous
#8F8CD3 #B28CD3 #D38CD1
triadic
#B28CD3 #D3B28C #8CD3B2
tetradic
#B28CD3 #D38F8C #ADD38C #8CD1D3
square
#B28CD3 #D38F8C #ADD38C #8CD1D3
split-complementary
#B28CD3 #D1D38C #8CD38F
monochromatic
#763FA5 #9460C2 #B28CD3 #D0B8E4 #EDE5F5

Accessibility & contrast

On white

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

On black

7.58
#B28CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28CD3
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28CD3#FFFFFF#000000##000000
##B28CD31.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9AD6
Deuteranopia (green-blind)
#879CD1
Tritanopia (blue-blind)
#AE96A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28cd3;
/* rgb */ color: rgb(178, 140, 211);
/* oklch */ color: oklch(70.2% 0.109 308.3);
Tailwind
colors: {
  custom: {
    50: '#caaee0',
    500: '#b28cd3',
    950: '#000000',
  },
}
SCSS
$custom: #b28cd3;
$custom-light: #caaee0;
$custom-dark: #000000;
JSON
{
  "hex": "#b28cd3",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 272.113,
    "s": 44.654,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70154,
    "c": 0.109,
    "h": 308.3
  },
  "luminance": 0.32924
}

Semantic roles & 50–950 ramp

primary
#B28CD3
secondary
#DDE8D3
accent
#B82E6E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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