#B28BCA#B28BCA

#B28BCA is a light, moderate violet. Relative luminance 0.322; OKLCH L 69.6% C 0.100 H 312.1°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#B28BCA
RGBrgb(178, 139, 202)
HSLhsl(277, 37%, 67%)
HSVhsv(277, 31%, 79%)
CMYKcmyk(11.9%, 31.2%, 0%, 20.8%)
CIE-LABlab(63.50, 26.47, -26.95)
CIE-LCHlch(63.50, 37.77, 314.48°)
OKLaboklab(69.58% 0.0667 -0.0738)
OKLCHoklch(69.58% 0.1 312.1)
XYZxyz(38.2516, 32.1950, 60.0648)
Luminance0.3219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BCA #A3CA8B
analogous
#938BCA #B28BCA #CA8BC3
triadic
#B28BCA #CAB28B #8BCAB2
tetradic
#B28BCA #CA938B #A3CA8B #8BC3CA
square
#B28BCA #CA938B #A3CA8B #8BC3CA
split-complementary
#B28BCA #C3CA8B #8BCA93
monochromatic
#774596 #9661B7 #B28BCA #CEB5DD #EADFF0

Accessibility & contrast

On white

2.82
#B28BCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B28BCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BCA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BCA#FFFFFF#000000##000000
##B28BCA1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CD
Deuteranopia (green-blind)
#899BC8
Tritanopia (blue-blind)
#B093A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b28bca;
/* rgb */ color: rgb(178, 139, 202);
/* oklch */ color: oklch(69.6% 0.100 312.1);
Tailwind
colors: {
  custom: {
    50: '#c9adda',
    500: '#b28bca',
    950: '#000000',
  },
}
SCSS
$custom: #b28bca;
$custom-light: #c9adda;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bca",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 202
  },
  "hsl": {
    "h": 277.143,
    "s": 37.278,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69582,
    "c": 0.09952,
    "h": 312.1
  },
  "luminance": 0.32194
}

Semantic roles & 50–950 ramp

primary
#B28BCA
secondary
#D6E2CE
accent
#B03564
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B28BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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