#B888FA#B888FA

#B888FA is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.9% C 0.166 H 301.8°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B888FA
RGBrgb(184, 136, 250)
HSLhsl(265, 92%, 76%)
HSVhsv(265, 46%, 98%)
CMYKcmyk(26.4%, 45.6%, 0%, 2%)
CIE-LABlab(65.52, 40.70, -50.37)
CIE-LCHlch(65.52, 64.76, 308.94°)
OKLaboklab(71.93% 0.0876 -0.1411)
OKLCHoklch(71.93% 0.166 301.8)
XYZxyz(45.8228, 34.7007, 94.7078)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B888FA #CAFA88
analogous
#8891FA #B888FA #F188FA
triadic
#B888FA #FAB888 #88FAB8
tetradic
#B888FA #FA8891 #CAFA88 #88FAF1
square
#B888FA #FA8891 #CAFA88 #88FAF1
split-complementary
#B888FA #FAF188 #91FA88
monochromatic
#7213F5 #954DF8 #B888FA #DBC3FC #EDE2FE

Accessibility & contrast

On white

2.64
#B888FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B888FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B888FA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B888FA#FFFFFF#000000##000000
##B888FA1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#AC9CB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b888fa;
/* rgb */ color: rgb(184, 136, 250);
/* oklch */ color: oklch(71.9% 0.166 301.8);
Tailwind
colors: {
  custom: {
    50: '#d0abfc',
    500: '#b888fa',
    950: '#000000',
  },
}
SCSS
$custom: #b888fa;
$custom-light: #d0abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b888fa",
  "rgb": {
    "r": 184,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 265.263,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71932,
    "c": 0.16609,
    "h": 301.8
  },
  "luminance": 0.34701
}

Semantic roles & 50–950 ramp

primary
#B888FA
secondary
#E8F6D5
accent
#E60085
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B888FA

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

Preview Lab → · Contrast checker → · Palette generator →

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