#B889F9#B889F9

#B889F9 is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.0% C 0.163 H 301.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B889F9
RGBrgb(184, 137, 249)
HSLhsl(265, 90%, 76%)
HSVhsv(265, 45%, 98%)
CMYKcmyk(26.1%, 45%, 0%, 2.4%)
CIE-LABlab(65.69, 39.92, -49.55)
CIE-LCHlch(65.69, 63.63, 308.85°)
OKLaboklab(72.05% 0.0861 -0.1388)
OKLCHoklch(72.05% 0.163 301.8)
XYZxyz(45.8079, 34.9212, 93.9313)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B889F9 #CAF989
analogous
#8992F9 #B889F9 #F089F9
triadic
#B889F9 #F9B889 #89F9B8
tetradic
#B889F9 #F98992 #CAF989 #89F9F0
square
#B889F9 #F98992 #CAF989 #89F9F0
split-complementary
#B889F9 #F9F089 #92F989
monochromatic
#7215F3 #954FF6 #B889F9 #DBC3FC #EDE2FE

Accessibility & contrast

On white

2.63
#B889F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B889F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B889F9
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B889F9#FFFFFF#000000##000000
##B889F91.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#AC9DB5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b889f9;
/* rgb */ color: rgb(184, 137, 249);
/* oklch */ color: oklch(72.0% 0.163 301.8);
Tailwind
colors: {
  custom: {
    50: '#d0acfc',
    500: '#b889f9',
    950: '#000000',
  },
}
SCSS
$custom: #b889f9;
$custom-light: #d0acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b889f9",
  "rgb": {
    "r": 184,
    "g": 137,
    "b": 249
  },
  "hsl": {
    "h": 265.179,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72045,
    "c": 0.16329,
    "h": 301.8
  },
  "luminance": 0.34921
}

Semantic roles & 50–950 ramp

primary
#B889F9
secondary
#E8F6D5
accent
#E60085
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B889F9

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

Preview Lab → · Contrast checker → · Palette generator →

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