#B28FF8#B28FF8

#B28FF8 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.5% C 0.152 H 297.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#B28FF8
RGBrgb(178, 143, 248)
HSLhsl(260, 88%, 77%)
HSVhsv(260, 42%, 97%)
CMYKcmyk(28.2%, 42.3%, 0%, 2.7%)
CIE-LABlab(66.43, 34.73, -47.86)
CIE-LCHlch(66.43, 59.14, 305.97°)
OKLaboklab(72.46% 0.0709 -0.134)
OKLCHoklch(72.46% 0.152 297.9)
XYZxyz(45.1218, 35.8868, 93.3384)
Luminance0.3589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FF8 #D5F88F
analogous
#8FA1F8 #B28FF8 #E78FF8
triadic
#B28FF8 #F8B28F #8FF8B2
tetradic
#B28FF8 #F88FA1 #D5F88F #8FF8E7
square
#B28FF8 #F88FA1 #D5F88F #8FF8E7
split-complementary
#B28FF8 #F8E78F #A1F88F
monochromatic
#631CF1 #8A55F4 #B28FF8 #DAC9FC #EBE2FD

Accessibility & contrast

On white

2.57
#B28FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#B28FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FF8
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FF8#FFFFFF#000000##000000
##B28FF81.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#A4A2B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b28ff8;
/* rgb */ color: rgb(178, 143, 248);
/* oklch */ color: oklch(72.5% 0.152 297.9);
Tailwind
colors: {
  custom: {
    50: '#cbb0fb',
    500: '#b28ff8',
    950: '#000000',
  },
}
SCSS
$custom: #b28ff8;
$custom-light: #cbb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ff8",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 260,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72459,
    "c": 0.15158,
    "h": 297.9
  },
  "luminance": 0.35887
}

Semantic roles & 50–950 ramp

primary
#B28FF8
secondary
#EBF5D6
accent
#E50199
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #B28FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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