#B28EE9#B28EE9

#B28EE9 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.5% C 0.134 H 301.3°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B28EE9
RGBrgb(178, 142, 233)
HSLhsl(264, 67%, 74%)
HSVhsv(264, 39%, 91%)
CMYKcmyk(23.6%, 39.1%, 0%, 8.6%)
CIE-LABlab(65.51, 31.72, -41.07)
CIE-LCHlch(65.51, 51.90, 307.68°)
OKLaboklab(71.53% 0.0696 -0.1143)
OKLCHoklch(71.53% 0.134 301.3)
XYZxyz(42.7379, 34.6941, 81.5201)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28EE9 #C5E98E
analogous
#8E97E9 #B28EE9 #DF8EE9
triadic
#B28EE9 #E9B28E #8EE9B2
tetradic
#B28EE9 #E98E97 #C5E98E #8EE9DF
square
#B28EE9 #E98E97 #C5E98E #8EE9DF
split-complementary
#B28EE9 #E9DF8E #97E98E
monochromatic
#6D29D3 #8F5BDF #B28EE9 #D5C1F3 #EEE5FA

Accessibility & contrast

On white

2.65
#B28EE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B28EE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28EE9
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28EE9#FFFFFF#000000##000000
##B28EE91.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEC
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#A89DB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b28ee9;
/* rgb */ color: rgb(178, 142, 233);
/* oklch */ color: oklch(71.5% 0.134 301.3);
Tailwind
colors: {
  custom: {
    50: '#caaff0',
    500: '#b28ee9',
    950: '#000000',
  },
}
SCSS
$custom: #b28ee9;
$custom-light: #caaff0;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ee9",
  "rgb": {
    "r": 178,
    "g": 142,
    "b": 233
  },
  "hsl": {
    "h": 263.736,
    "s": 67.407,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71534,
    "c": 0.13381,
    "h": 301.3
  },
  "luminance": 0.34694
}

Semantic roles & 50–950 ramp

primary
#B28EE9
secondary
#E8F2D9
accent
#CF1686
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B28EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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