#B28CD4#B28CD4

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

Color values

HEX#B28CD4
RGBrgb(178, 140, 212)
HSLhsl(272, 46%, 69%)
HSVhsv(272, 34%, 83%)
CMYKcmyk(16%, 34%, 0%, 16.9%)
CIE-LABlab(64.14, 28.07, -31.56)
CIE-LCHlch(64.14, 42.24, 311.65°)
OKLaboklab(70.2% 0.0678 -0.087)
OKLCHoklch(70.2% 0.11 307.9)
XYZxyz(39.6196, 32.9750, 66.5522)
Luminance0.3297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28CD4 #AED48C
analogous
#8E8CD4 #B28CD4 #D48CD2
triadic
#B28CD4 #D4B28C #8CD4B2
tetradic
#B28CD4 #D48E8C #AED48C #8CD2D4
square
#B28CD4 #D48E8C #AED48C #8CD2D4
split-complementary
#B28CD4 #D2D48C #8CD48E
monochromatic
#763EA7 #945FC3 #B28CD4 #D0B9E5 #EEE5F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28CD4#FFFFFF#000000##000000
##B28CD41.002.767.597.59
#FFFFFF2.761.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9AD7
Deuteranopia (green-blind)
#869CD2
Tritanopia (blue-blind)
#AE96A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b28cd4;
/* rgb */ color: rgb(178, 140, 212);
/* oklch */ color: oklch(70.2% 0.110 307.9);
Tailwind
colors: {
  custom: {
    50: '#caaee1',
    500: '#b28cd4',
    950: '#000000',
  },
}
SCSS
$custom: #b28cd4;
$custom-light: #caaee1;
$custom-dark: #000000;
JSON
{
  "hex": "#b28cd4",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 212
  },
  "hsl": {
    "h": 271.667,
    "s": 45.57,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70199,
    "c": 0.11027,
    "h": 307.9
  },
  "luminance": 0.32975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B28CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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