#B28BF4#B28BF4

#B28BF4 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.6% C 0.153 H 299.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#B28BF4
RGBrgb(178, 139, 244)
HSLhsl(262, 83%, 75%)
HSVhsv(262, 43%, 96%)
CMYKcmyk(27%, 43%, 0%, 4.3%)
CIE-LABlab(65.33, 36.00, -47.41)
CIE-LCHlch(65.33, 59.53, 307.21°)
OKLaboklab(71.56% 0.0756 -0.1327)
OKLCHoklch(71.56% 0.153 299.7)
XYZxyz(43.9181, 34.4616, 89.9084)
Luminance0.3446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BF4 #CDF48B
analogous
#8B98F4 #B28BF4 #E78BF4
triadic
#B28BF4 #F4B28B #8BF4B2
tetradic
#B28BF4 #F48B98 #CDF48B #8BF4E7
square
#B28BF4 #F48B98 #CDF48B #8BF4E7
split-complementary
#B28BF4 #F4E78B #98F48B
monochromatic
#681BE9 #8D53EF #B28BF4 #D7C3F9 #ECE3FC

Accessibility & contrast

On white

2.66
#B28BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#B28BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BF4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BF4#FFFFFF#000000##000000
##B28BF41.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF8
Deuteranopia (green-blind)
#759EF1
Tritanopia (blue-blind)
#A59DB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b28bf4;
/* rgb */ color: rgb(178, 139, 244);
/* oklch */ color: oklch(71.6% 0.153 299.7);
Tailwind
colors: {
  custom: {
    50: '#cbadf8',
    500: '#b28bf4',
    950: '#000000',
  },
}
SCSS
$custom: #b28bf4;
$custom-light: #cbadf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bf4",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 244
  },
  "hsl": {
    "h": 262.286,
    "s": 82.677,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71563,
    "c": 0.15271,
    "h": 299.7
  },
  "luminance": 0.34462
}

Semantic roles & 50–950 ramp

primary
#B28BF4
secondary
#E9F4D7
accent
#DF068F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #B28BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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