#B28FEE#B28FEE

#B28FEE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.0% C 0.139 H 299.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B28FEE
RGBrgb(178, 143, 238)
HSLhsl(262, 74%, 75%)
HSVhsv(262, 40%, 93%)
CMYKcmyk(25.2%, 39.9%, 0%, 6.7%)
CIE-LABlab(65.97, 32.34, -43.11)
CIE-LCHlch(65.97, 53.89, 306.88°)
OKLaboklab(71.96% 0.0691 -0.1202)
OKLCHoklch(71.96% 0.139 299.9)
XYZxyz(43.6117, 35.2827, 85.3850)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FEE #CBEE8F
analogous
#8F9CEE #B28FEE #E18FEE
triadic
#B28FEE #EEB28F #8FEEB2
tetradic
#B28FEE #EE8F9C #CBEE8F #8FEEE1
square
#B28FEE #EE8F9C #CBEE8F #8FEEE1
split-complementary
#B28FEE #EEE18F #9CEE8F
monochromatic
#6925DE #8D5AE6 #B28FEE #D7C4F6 #EDE4FB

Accessibility & contrast

On white

2.61
#B28FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B28FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FEE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FEE#FFFFFF#000000##000000
##B28FEE1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F2
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#A79FB3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b28fee;
/* rgb */ color: rgb(178, 143, 238);
/* oklch */ color: oklch(72.0% 0.139 299.9);
Tailwind
colors: {
  custom: {
    50: '#cbb0f4',
    500: '#b28fee',
    950: '#000000',
  },
}
SCSS
$custom: #b28fee;
$custom-light: #cbb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b28fee",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 262.105,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71955,
    "c": 0.13867,
    "h": 299.9
  },
  "luminance": 0.35283
}

Semantic roles & 50–950 ramp

primary
#B28FEE
secondary
#E9F3D8
accent
#D6108D
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#131017
muted
#827F85

Preview Lab

Preview with #B28FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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