#B28BF0#B28BF0

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

Color values

HEX#B28BF0
RGBrgb(178, 139, 240)
HSLhsl(263, 77%, 74%)
HSVhsv(263, 42%, 94%)
CMYKcmyk(25.8%, 42.1%, 0%, 5.9%)
CIE-LABlab(65.14, 35.05, -45.51)
CIE-LCHlch(65.14, 57.44, 307.60°)
OKLaboklab(71.36% 0.075 -0.1272)
OKLCHoklch(71.36% 0.148 300.5)
XYZxyz(43.3173, 34.2213, 86.7445)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BF0 #C9F08B
analogous
#8B97F0 #B28BF0 #E48BF0
triadic
#B28BF0 #F0B28B #8BF0B2
tetradic
#B28BF0 #F08B97 #C9F08B #8BF0E4
square
#B28BF0 #F08B97 #C9F08B #8BF0E4
split-complementary
#B28BF0 #F0E48B #97F08B
monochromatic
#6A1FE2 #8E55E9 #B28BF0 #D6C1F7 #EDE4FB

Accessibility & contrast

On white

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

On black

7.84
#B28BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BF0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BF0#FFFFFF#000000##000000
##B28BF01.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF4
Deuteranopia (green-blind)
#789EED
Tritanopia (blue-blind)
#A69CB2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b28bf0;
/* rgb */ color: rgb(178, 139, 240);
/* oklch */ color: oklch(71.4% 0.148 300.5);
Tailwind
colors: {
  custom: {
    50: '#cbadf5',
    500: '#b28bf0',
    950: '#000000',
  },
}
SCSS
$custom: #b28bf0;
$custom-light: #cbadf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bf0",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 240
  },
  "hsl": {
    "h": 263.168,
    "s": 77.099,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71358,
    "c": 0.1476,
    "h": 300.5
  },
  "luminance": 0.34221
}

Semantic roles & 50–950 ramp

primary
#B28BF0
secondary
#E9F3D8
accent
#D90C8A
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #B28BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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