#B889F6#B889F6

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

Color values

HEX#B889F6
RGBrgb(184, 137, 246)
HSLhsl(266, 86%, 75%)
HSVhsv(266, 44%, 96%)
CMYKcmyk(25.2%, 44.3%, 0%, 3.5%)
CIE-LABlab(65.54, 39.21, -48.13)
CIE-LCHlch(65.54, 62.09, 309.17°)
OKLaboklab(71.89% 0.0857 -0.1346)
OKLCHoklch(71.89% 0.16 302.5)
XYZxyz(45.3437, 34.7355, 91.4867)
Luminance0.3473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B889F6 #C7F689
analogous
#8990F6 #B889F6 #EF89F6
triadic
#B889F6 #F6B889 #89F6B8
tetradic
#B889F6 #F68990 #C7F689 #89F6EF
square
#B889F6 #F68990 #C7F689 #89F6EF
split-complementary
#B889F6 #F6EF89 #90F689
monochromatic
#7417ED #9650F2 #B889F6 #DAC2FA #EEE3FD

Accessibility & contrast

On white

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

On black

7.95
#B889F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B889F6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B889F6#FFFFFF#000000##000000
##B889F61.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#AD9CB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b889f6;
/* rgb */ color: rgb(184, 137, 246);
/* oklch */ color: oklch(71.9% 0.160 302.5);
Tailwind
colors: {
  custom: {
    50: '#cfacf9',
    500: '#b889f6',
    950: '#000000',
  },
}
SCSS
$custom: #b889f6;
$custom-light: #cfacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b889f6",
  "rgb": {
    "r": 184,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 265.872,
    "s": 85.827,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71889,
    "c": 0.15958,
    "h": 302.5
  },
  "luminance": 0.34735
}

Semantic roles & 50–950 ramp

primary
#B889F6
secondary
#E8F5D6
accent
#E20382
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B889F6

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

Preview Lab → · Contrast checker → · Palette generator →

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