#B28AF4#B28AF4

#B28AF4 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.4% C 0.154 H 299.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B28AF4
RGBrgb(178, 138, 244)
HSLhsl(263, 83%, 75%)
HSVhsv(263, 43%, 96%)
CMYKcmyk(27%, 43.4%, 0%, 4.3%)
CIE-LABlab(65.10, 36.56, -47.77)
CIE-LCHlch(65.10, 60.16, 307.42°)
OKLaboklab(71.39% 0.0769 -0.1337)
OKLCHoklch(71.39% 0.154 299.9)
XYZxyz(43.7740, 34.1734, 89.8604)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28AF4 #CCF48A
analogous
#8A97F4 #B28AF4 #E78AF4
triadic
#B28AF4 #F4B28A #8AF4B2
tetradic
#B28AF4 #F48A97 #CCF48A #8AF4E7
square
#B28AF4 #F48A97 #CCF48A #8AF4E7
split-complementary
#B28AF4 #F4E78A #97F48A
monochromatic
#681AE9 #8D52EF #B28AF4 #D7C2F9 #EDE3FC

Accessibility & contrast

On white

2.68
#B28AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#B28AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28AF4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28AF4#FFFFFF#000000##000000
##B28AF41.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF8
Deuteranopia (green-blind)
#749DF1
Tritanopia (blue-blind)
#A59DB3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b28af4;
/* rgb */ color: rgb(178, 138, 244);
/* oklch */ color: oklch(71.4% 0.154 299.9);
Tailwind
colors: {
  custom: {
    50: '#cbadf8',
    500: '#b28af4',
    950: '#000000',
  },
}
SCSS
$custom: #b28af4;
$custom-light: #cbadf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b28af4",
  "rgb": {
    "r": 178,
    "g": 138,
    "b": 244
  },
  "hsl": {
    "h": 262.642,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71391,
    "c": 0.15428,
    "h": 299.9
  },
  "luminance": 0.34174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B28AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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