#B889F7#B889F7

#B889F7 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.9% C 0.161 H 302.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B889F7
RGBrgb(184, 137, 247)
HSLhsl(266, 87%, 75%)
HSVhsv(266, 45%, 97%)
CMYKcmyk(25.5%, 44.5%, 0%, 3.1%)
CIE-LABlab(65.59, 39.45, -48.61)
CIE-LCHlch(65.59, 62.60, 309.06°)
OKLaboklab(71.94% 0.0858 -0.136)
OKLCHoklch(71.94% 0.161 302.2)
XYZxyz(45.4976, 34.7970, 92.2972)
Luminance0.3480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B889F7 #C8F789
analogous
#8991F7 #B889F7 #EF89F7
triadic
#B889F7 #F7B889 #89F7B8
tetradic
#B889F7 #F78991 #C8F789 #89F7EF
square
#B889F7 #F78991 #C8F789 #89F7EF
split-complementary
#B889F7 #F7EF89 #91F789
monochromatic
#7316EF #9650F3 #B889F7 #DAC2FB #EEE2FD

Accessibility & contrast

On white

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

On black

7.96
#B889F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B889F7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B889F7#FFFFFF#000000##000000
##B889F71.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFB
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#AD9CB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b889f7;
/* rgb */ color: rgb(184, 137, 247);
/* oklch */ color: oklch(71.9% 0.161 302.2);
Tailwind
colors: {
  custom: {
    50: '#cfacfa',
    500: '#b889f7',
    950: '#000000',
  },
}
SCSS
$custom: #b889f7;
$custom-light: #cfacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b889f7",
  "rgb": {
    "r": 184,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 265.636,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7194,
    "c": 0.16082,
    "h": 302.2
  },
  "luminance": 0.34797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B889F7

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

Preview Lab → · Contrast checker → · Palette generator →

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