#B889F2#B889F2

#B889F2 is a light, vivid violet. Relative luminance 0.345; OKLCH L 71.7% C 0.155 H 303.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#B889F2
RGBrgb(184, 137, 242)
HSLhsl(267, 80%, 74%)
HSVhsv(267, 43%, 95%)
CMYKcmyk(24%, 43.4%, 0%, 5.1%)
CIE-LABlab(65.35, 38.28, -46.24)
CIE-LCHlch(65.35, 60.03, 309.62°)
OKLaboklab(71.68% 0.0851 -0.1291)
OKLCHoklch(71.68% 0.155 303.4)
XYZxyz(44.7364, 34.4926, 88.2881)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B889F2 #C3F289
analogous
#898FF2 #B889F2 #ED89F2
triadic
#B889F2 #F2B889 #89F2B8
tetradic
#B889F2 #F2898F #C3F289 #89F2ED
square
#B889F2 #F2898F #C3F289 #89F2ED
split-complementary
#B889F2 #F2ED89 #8FF289
monochromatic
#761BE6 #9752EC #B889F2 #D9C0F8 #EEE3FC

Accessibility & contrast

On white

2.66
#B889F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#B889F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B889F2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B889F2#FFFFFF#000000##000000
##B889F21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF6
Deuteranopia (green-blind)
#789FEF
Tritanopia (blue-blind)
#AE9BB2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b889f2;
/* rgb */ color: rgb(184, 137, 242);
/* oklch */ color: oklch(71.7% 0.155 303.4);
Tailwind
colors: {
  custom: {
    50: '#cfacf7',
    500: '#b889f2',
    950: '#000000',
  },
}
SCSS
$custom: #b889f2;
$custom-light: #cfacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b889f2",
  "rgb": {
    "r": 184,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 266.857,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71683,
    "c": 0.15462,
    "h": 303.4
  },
  "luminance": 0.34492
}

Semantic roles & 50–950 ramp

primary
#B889F2
secondary
#E7F4D7
accent
#DC097E
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B889F2

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

Preview Lab → · Contrast checker → · Palette generator →

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