#B888FF#B888FF

#B888FF is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.2% C 0.172 H 300.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B888FF
RGBrgb(184, 136, 255)
HSLhsl(264, 100%, 77%)
HSVhsv(264, 47%, 100%)
CMYKcmyk(27.8%, 46.7%, 0%, 0%)
CIE-LABlab(65.76, 41.88, -52.71)
CIE-LCHlch(65.76, 67.33, 308.47°)
OKLaboklab(72.2% 0.0882 -0.148)
OKLCHoklch(72.2% 0.172 300.8)
XYZxyz(46.6172, 35.0185, 98.8916)
Luminance0.3502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B888FF #CFFF88
analogous
#8894FF #B888FF #F488FF
triadic
#B888FF #FFB888 #88FFB8
tetradic
#B888FF #FF8894 #CFFF88 #88FFF4
square
#B888FF #FF8894 #CFFF88 #88FFF4
split-complementary
#B888FF #FFF488 #94FF88
monochromatic
#6F0EFF #934BFF #B888FF #DDC5FF #EDE0FF

Accessibility & contrast

On white

2.62
#B888FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B888FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B888FF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B888FF#FFFFFF#000000##000000
##B888FF1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#6F9FFC
Tritanopia (blue-blind)
#AA9DB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b888ff;
/* rgb */ color: rgb(184, 136, 255);
/* oklch */ color: oklch(72.2% 0.172 300.8);
Tailwind
colors: {
  custom: {
    50: '#d0abff',
    500: '#b888ff',
    950: '#000000',
  },
}
SCSS
$custom: #b888ff;
$custom-light: #d0abff;
$custom-dark: #000000;
JSON
{
  "hex": "#b888ff",
  "rgb": {
    "r": 184,
    "g": 136,
    "b": 255
  },
  "hsl": {
    "h": 264.202,
    "s": 100,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72198,
    "c": 0.17224,
    "h": 300.8
  },
  "luminance": 0.35019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B888FF

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

Preview Lab → · Contrast checker → · Palette generator →

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