#B888EA#B888EA

#B888EA is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.1% C 0.146 H 305.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B888EA
RGBrgb(184, 136, 234)
HSLhsl(269, 70%, 73%)
HSVhsv(269, 42%, 92%)
CMYKcmyk(21.4%, 41.9%, 0%, 8.2%)
CIE-LABlab(64.76, 37.00, -42.77)
CIE-LCHlch(64.76, 56.55, 310.86°)
OKLaboklab(71.11% 0.0851 -0.1191)
OKLCHoklch(71.11% 0.146 305.6)
XYZxyz(43.4196, 33.7394, 82.0509)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B888EA #BAEA88
analogous
#8889EA #B888EA #E988EA
triadic
#B888EA #EAB888 #88EAB8
tetradic
#B888EA #EA8889 #BAEA88 #88EAE9
square
#B888EA #EA8889 #BAEA88 #88EAE9
split-complementary
#B888EA #EAE988 #89EA88
monochromatic
#7A25D2 #9954E1 #B888EA #D7BCF3 #EFE5FA

Accessibility & contrast

On white

2.71
#B888EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B888EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B888EA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B888EA#FFFFFF#000000##000000
##B888EA1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BEE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#B098AE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b888ea;
/* rgb */ color: rgb(184, 136, 234);
/* oklch */ color: oklch(71.1% 0.146 305.6);
Tailwind
colors: {
  custom: {
    50: '#cfabf1',
    500: '#b888ea',
    950: '#000000',
  },
}
SCSS
$custom: #b888ea;
$custom-light: #cfabf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b888ea",
  "rgb": {
    "r": 184,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 269.388,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71113,
    "c": 0.14636,
    "h": 305.6
  },
  "luminance": 0.33739
}

Semantic roles & 50–950 ramp

primary
#B888EA
secondary
#E6F2D9
accent
#D21475
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B888EA

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

Preview Lab → · Contrast checker → · Palette generator →

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