#B889F8#B889F8

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

Color values

HEX#B889F8
RGBrgb(184, 137, 248)
HSLhsl(265, 89%, 75%)
HSVhsv(265, 45%, 97%)
CMYKcmyk(25.8%, 44.8%, 0%, 2.7%)
CIE-LABlab(65.64, 39.68, -49.08)
CIE-LCHlch(65.64, 63.11, 308.96°)
OKLaboklab(71.99% 0.086 -0.1374)
OKLCHoklch(71.99% 0.162 302)
XYZxyz(45.6523, 34.8589, 93.1121)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B889F8 #C9F889
analogous
#8991F8 #B889F8 #EF89F8
triadic
#B889F8 #F8B889 #89F8B8
tetradic
#B889F8 #F88991 #C9F889 #89F8EF
square
#B889F8 #F88991 #C9F889 #89F8EF
split-complementary
#B889F8 #F8EF89 #91F889
monochromatic
#7215F1 #954FF5 #B889F8 #DBC3FB #EEE2FD

Accessibility & contrast

On white

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

On black

7.97
#B889F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B889F8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B889F8#FFFFFF#000000##000000
##B889F81.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#759FF5
Tritanopia (blue-blind)
#AC9CB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b889f8;
/* rgb */ color: rgb(184, 137, 248);
/* oklch */ color: oklch(72.0% 0.162 302.0);
Tailwind
colors: {
  custom: {
    50: '#cfacfb',
    500: '#b889f8',
    950: '#000000',
  },
}
SCSS
$custom: #b889f8;
$custom-light: #cfacfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b889f8",
  "rgb": {
    "r": 184,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 265.405,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71993,
    "c": 0.16205,
    "h": 302
  },
  "luminance": 0.34859
}

Semantic roles & 50–950 ramp

primary
#B889F8
secondary
#E8F5D6
accent
#E50084
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B889F8

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

Preview Lab → · Contrast checker → · Palette generator →

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