#B28CD6#B28CD6

#B28CD6 is a light, moderate violet. Relative luminance 0.331; OKLCH L 70.3% C 0.113 H 307.3°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#B28CD6
RGBrgb(178, 140, 214)
HSLhsl(271, 47%, 69%)
HSVhsv(271, 35%, 84%)
CMYKcmyk(16.8%, 34.6%, 0%, 16.1%)
CIE-LABlab(64.22, 28.51, -32.55)
CIE-LCHlch(64.22, 43.27, 311.22°)
OKLaboklab(70.29% 0.0683 -0.0898)
OKLCHoklch(70.29% 0.113 307.3)
XYZxyz(39.8735, 33.0765, 67.8891)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28CD6 #B0D68C
analogous
#8D8CD6 #B28CD6 #D68CD5
triadic
#B28CD6 #D6B28C #8CD6B2
tetradic
#B28CD6 #D68D8C #B0D68C #8CD5D6
square
#B28CD6 #D68D8C #B0D68C #8CD5D6
split-complementary
#B28CD6 #D5D68C #8CD68D
monochromatic
#753DAB #945FC6 #B28CD6 #D0B9E6 #EEE6F6

Accessibility & contrast

On white

2.76
#B28CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#B28CD6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28CD6
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28CD6#FFFFFF#000000##000000
##B28CD61.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9AD9
Deuteranopia (green-blind)
#859CD4
Tritanopia (blue-blind)
#AD97A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b28cd6;
/* rgb */ color: rgb(178, 140, 214);
/* oklch */ color: oklch(70.3% 0.113 307.3);
Tailwind
colors: {
  custom: {
    50: '#caaee3',
    500: '#b28cd6',
    950: '#000000',
  },
}
SCSS
$custom: #b28cd6;
$custom-light: #caaee3;
$custom-dark: #000000;
JSON
{
  "hex": "#b28cd6",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 270.811,
    "s": 47.436,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70288,
    "c": 0.11279,
    "h": 307.3
  },
  "luminance": 0.33076
}

Semantic roles & 50–950 ramp

primary
#B28CD6
secondary
#DFEAD4
accent
#BB2B71
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B28CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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