#B888FE#B888FE

#B888FE is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.1% C 0.171 H 301.0°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B888FE
RGBrgb(184, 136, 254)
HSLhsl(264, 98%, 76%)
HSVhsv(264, 46%, 100%)
CMYKcmyk(27.6%, 46.5%, 0%, 0.4%)
CIE-LABlab(65.71, 41.65, -52.25)
CIE-LCHlch(65.71, 66.81, 308.56°)
OKLaboklab(72.14% 0.0881 -0.1466)
OKLCHoklch(72.14% 0.171 301)
XYZxyz(46.4566, 34.9543, 98.0461)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B888FE #CEFE88
analogous
#8893FE #B888FE #F388FE
triadic
#B888FE #FEB888 #88FEB8
tetradic
#B888FE #FE8893 #CEFE88 #88FEF3
square
#B888FE #FE8893 #CEFE88 #88FEF3
split-complementary
#B888FE #FEF388 #93FE88
monochromatic
#700FFD #944BFD #B888FE #DCC5FF #EDE1FF

Accessibility & contrast

On white

2.63
#B888FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B888FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B888FE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B888FE#FFFFFF#000000##000000
##B888FE1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#AB9DB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b888fe;
/* rgb */ color: rgb(184, 136, 254);
/* oklch */ color: oklch(72.1% 0.171 301.0);
Tailwind
colors: {
  custom: {
    50: '#d0abff',
    500: '#b888fe',
    950: '#000000',
  },
}
SCSS
$custom: #b888fe;
$custom-light: #d0abff;
$custom-dark: #000000;
JSON
{
  "hex": "#b888fe",
  "rgb": {
    "r": 184,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 264.407,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72144,
    "c": 0.17101,
    "h": 301
  },
  "luminance": 0.34954
}

Semantic roles & 50–950 ramp

primary
#B888FE
secondary
#E9F7D4
accent
#E60088
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B888FE

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

Preview Lab → · Contrast checker → · Palette generator →

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