#B28FFB#B28FFB

#B28FFB is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.155 H 297.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#B28FFB
RGBrgb(178, 143, 251)
HSLhsl(259, 93%, 77%)
HSVhsv(259, 43%, 98%)
CMYKcmyk(29.1%, 43%, 0%, 1.6%)
CIE-LABlab(66.58, 35.46, -49.28)
CIE-LCHlch(66.58, 60.71, 305.74°)
OKLaboklab(72.61% 0.0714 -0.1381)
OKLCHoklch(72.61% 0.155 297.3)
XYZxyz(45.5910, 36.0745, 95.8092)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FFB #D8FB8F
analogous
#8FA2FB #B28FFB #E88FFB
triadic
#B28FFB #FBB28F #8FFBB2
tetradic
#B28FFB #FB8FA2 #D8FB8F #8FFBE8
square
#B28FFB #FB8FA2 #D8FB8F #8FFBE8
split-complementary
#B28FFB #FBE88F #A2FB8F
monochromatic
#6119F7 #8954F9 #B28FFB #DBCAFD #EBE1FE

Accessibility & contrast

On white

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

On black

8.22
#B28FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FFB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FFB#FFFFFF#000000##000000
##B28FFB1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#A3A2B9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b28ffb;
/* rgb */ color: rgb(178, 143, 251);
/* oklch */ color: oklch(72.6% 0.155 297.3);
Tailwind
colors: {
  custom: {
    50: '#cbb0fd',
    500: '#b28ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b28ffb;
$custom-light: #cbb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ffb",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 259.444,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.72614,
    "c": 0.15544,
    "h": 297.3
  },
  "luminance": 0.36075
}

Semantic roles & 50–950 ramp

primary
#B28FFB
secondary
#EBF6D5
accent
#E6009B
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141018
muted
#827F86

Preview Lab

Preview with #B28FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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