#B28BFE#B28BFE

#B28BFE is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.1% C 0.165 H 297.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B28BFE
RGBrgb(178, 139, 254)
HSLhsl(260, 98%, 77%)
HSVhsv(260, 45%, 100%)
CMYKcmyk(29.9%, 45.3%, 0%, 0.4%)
CIE-LABlab(65.82, 38.42, -52.12)
CIE-LCHlch(65.82, 64.75, 306.40°)
OKLaboklab(72.09% 0.077 -0.1464)
OKLCHoklch(72.09% 0.165 297.8)
XYZxyz(45.4778, 35.0855, 98.1229)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BFE #D7FE8B
analogous
#8B9EFE #B28BFE #EC8BFE
triadic
#B28BFE #FEB28B #8BFEB2
tetradic
#B28BFE #FE8B9E #D7FE8B #8BFEEC
square
#B28BFE #FE8B9E #D7FE8B #8BFEEC
split-complementary
#B28BFE #FEEC8B #9EFE8B
monochromatic
#6112FD #8A4EFD #B28BFE #DAC8FF #EBE1FF

Accessibility & contrast

On white

2.62
#B28BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B28BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BFE
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BFE#FFFFFF#000000##000000
##B28BFE1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#6F9FFB
Tritanopia (blue-blind)
#A2A0B8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b28bfe;
/* rgb */ color: rgb(178, 139, 254);
/* oklch */ color: oklch(72.1% 0.165 297.8);
Tailwind
colors: {
  custom: {
    50: '#ccadff',
    500: '#b28bfe',
    950: '#000000',
  },
}
SCSS
$custom: #b28bfe;
$custom-light: #ccadff;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bfe",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 260.348,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72089,
    "c": 0.16542,
    "h": 297.8
  },
  "luminance": 0.35086
}

Semantic roles & 50–950 ramp

primary
#B28BFE
secondary
#EBF7D4
accent
#E60098
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141018
muted
#827F86

Preview Lab

Preview with #B28BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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