#B889EF#B889EF

#B889EF is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.5% C 0.151 H 304.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B889EF
RGBrgb(184, 137, 239)
HSLhsl(268, 76%, 74%)
HSVhsv(268, 43%, 94%)
CMYKcmyk(23%, 42.7%, 0%, 6.3%)
CIE-LABlab(65.21, 37.59, -44.81)
CIE-LCHlch(65.21, 58.49, 309.99°)
OKLaboklab(71.53% 0.0846 -0.125)
OKLCHoklch(71.53% 0.151 304.1)
XYZxyz(44.2895, 34.3138, 85.9346)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B889EF #C0EF89
analogous
#898DEF #B889EF #EB89EF
triadic
#B889EF #EFB889 #89EFB8
tetradic
#B889EF #EF898D #C0EF89 #89EFEB
square
#B889EF #EF898D #C0EF89 #89EFEB
split-complementary
#B889EF #EFEB89 #8DEF89
monochromatic
#771EDF #9853E8 #B889EF #D8BFF6 #EFE4FB

Accessibility & contrast

On white

2.67
#B889EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B889EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B889EF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B889EF#FFFFFF#000000##000000
##B889EF1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#AF9AB1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b889ef;
/* rgb */ color: rgb(184, 137, 239);
/* oklch */ color: oklch(71.5% 0.151 304.1);
Tailwind
colors: {
  custom: {
    50: '#cfacf4',
    500: '#b889ef',
    950: '#000000',
  },
}
SCSS
$custom: #b889ef;
$custom-light: #cfacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b889ef",
  "rgb": {
    "r": 184,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 267.647,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71531,
    "c": 0.1509,
    "h": 304.1
  },
  "luminance": 0.34314
}

Semantic roles & 50–950 ramp

primary
#B889EF
secondary
#E7F3D8
accent
#D80D7B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B889EF

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

Preview Lab → · Contrast checker → · Palette generator →

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