#B889FC#B889FC

#B889FC is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.2% C 0.167 H 301.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B889FC
RGBrgb(184, 137, 252)
HSLhsl(265, 95%, 76%)
HSVhsv(265, 46%, 99%)
CMYKcmyk(27%, 45.6%, 0%, 1.2%)
CIE-LABlab(65.83, 40.62, -50.96)
CIE-LCHlch(65.83, 65.17, 308.56°)
OKLaboklab(72.2% 0.0865 -0.1429)
OKLCHoklch(72.2% 0.167 301.2)
XYZxyz(46.2795, 35.1098, 96.4153)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B889FC #CDFC89
analogous
#8994FC #B889FC #F289FC
triadic
#B889FC #FCB889 #89FCB8
tetradic
#B889FC #FC8994 #CDFC89 #89FCF2
square
#B889FC #FC8994 #CDFC89 #89FCF2
split-complementary
#B889FC #FCF289 #94FC89
monochromatic
#7012F9 #944DFA #B889FC #DCC5FE #EDE1FE

Accessibility & contrast

On white

2.62
#B889FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B889FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B889FC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B889FC#FFFFFF#000000##000000
##B889FC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#AB9DB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b889fc;
/* rgb */ color: rgb(184, 137, 252);
/* oklch */ color: oklch(72.2% 0.167 301.2);
Tailwind
colors: {
  custom: {
    50: '#d0acfe',
    500: '#b889fc',
    950: '#000000',
  },
}
SCSS
$custom: #b889fc;
$custom-light: #d0acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b889fc",
  "rgb": {
    "r": 184,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 264.522,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72203,
    "c": 0.167,
    "h": 301.2
  },
  "luminance": 0.3511
}

Semantic roles & 50–950 ramp

primary
#B889FC
secondary
#E9F6D5
accent
#E60088
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B889FC

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

Preview Lab → · Contrast checker → · Palette generator →

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