#B28FF9#B28FF9

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

Color values

HEX#B28FF9
RGBrgb(178, 143, 249)
HSLhsl(260, 90%, 77%)
HSVhsv(260, 43%, 98%)
CMYKcmyk(28.5%, 42.6%, 0%, 2.4%)
CIE-LABlab(66.48, 34.98, -48.34)
CIE-LCHlch(66.48, 59.66, 305.89°)
OKLaboklab(72.51% 0.071 -0.1354)
OKLCHoklch(72.51% 0.153 297.7)
XYZxyz(45.2774, 35.9490, 94.1576)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FF9 #D6F98F
analogous
#8FA1F9 #B28FF9 #E78FF9
triadic
#B28FF9 #F9B28F #8FF9B2
tetradic
#B28FF9 #F98FA1 #D6F98F #8FF9E7
square
#B28FF9 #F98FA1 #D6F98F #8FF9E7
split-complementary
#B28FF9 #F9E78F #A1F98F
monochromatic
#621BF3 #8A55F6 #B28FF9 #DAC9FC #EBE2FD

Accessibility & contrast

On white

2.56
#B28FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B28FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FF9
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FF9#FFFFFF#000000##000000
##B28FF91.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FD
Deuteranopia (green-blind)
#77A1F6
Tritanopia (blue-blind)
#A3A2B8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b28ff9;
/* rgb */ color: rgb(178, 143, 249);
/* oklch */ color: oklch(72.5% 0.153 297.7);
Tailwind
colors: {
  custom: {
    50: '#cbb0fc',
    500: '#b28ff9',
    950: '#000000',
  },
}
SCSS
$custom: #b28ff9;
$custom-light: #cbb0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ff9",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 249
  },
  "hsl": {
    "h": 259.811,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7251,
    "c": 0.15286,
    "h": 297.7
  },
  "luminance": 0.35949
}

Semantic roles & 50–950 ramp

primary
#B28FF9
secondary
#EBF6D5
accent
#E6009A
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85

Preview Lab

Preview with #B28FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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