#B28FF5#B28FF5

#B28FF5 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.3% C 0.148 H 298.5°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B28FF5
RGBrgb(178, 143, 245)
HSLhsl(261, 84%, 76%)
HSVhsv(261, 42%, 96%)
CMYKcmyk(27.3%, 41.6%, 0%, 3.9%)
CIE-LABlab(66.29, 34.01, -46.44)
CIE-LCHlch(66.29, 57.56, 306.21°)
OKLaboklab(72.31% 0.0704 -0.1299)
OKLCHoklch(72.31% 0.148 298.5)
XYZxyz(44.6601, 35.7021, 90.9068)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28FF5 #D2F58F
analogous
#8F9FF5 #B28FF5 #E58FF5
triadic
#B28FF5 #F5B28F #8FF5B2
tetradic
#B28FF5 #F58F9F #D2F58F #8FF5E5
square
#B28FF5 #F58F9F #D2F58F #8FF5E5
split-complementary
#B28FF5 #F5E58F #9FF58F
monochromatic
#651FEB #8B57F0 #B28FF5 #D9C7FA #ECE3FC

Accessibility & contrast

On white

2.58
#B28FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B28FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28FF5
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28FF5#FFFFFF#000000##000000
##B28FF51.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#A5A1B6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b28ff5;
/* rgb */ color: rgb(178, 143, 245);
/* oklch */ color: oklch(72.3% 0.148 298.5);
Tailwind
colors: {
  custom: {
    50: '#cbb0f9',
    500: '#b28ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b28ff5;
$custom-light: #cbb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b28ff5",
  "rgb": {
    "r": 178,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 260.588,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72306,
    "c": 0.14771,
    "h": 298.5
  },
  "luminance": 0.35702
}

Semantic roles & 50–950 ramp

primary
#B28FF5
secondary
#EAF4D7
accent
#E00595
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#131017
muted
#827F85

Preview Lab

Preview with #B28FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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