#B989FA#B989FA

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

Color values

HEX#B989FA
RGBrgb(185, 137, 250)
HSLhsl(265, 92%, 76%)
HSVhsv(265, 45%, 98%)
CMYKcmyk(26%, 45.2%, 0%, 2%)
CIE-LABlab(65.83, 40.42, -49.86)
CIE-LCHlch(65.83, 64.19, 309.03°)
OKLaboklab(72.19% 0.0874 -0.1396)
OKLCHoklch(72.19% 0.165 302)
XYZxyz(46.2047, 35.1077, 94.7662)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B989FA #CAFA89
analogous
#8991FA #B989FA #F289FA
triadic
#B989FA #FAB989 #89FAB9
tetradic
#B989FA #FA8991 #CAFA89 #89FAF2
square
#B989FA #FA8991 #CAFA89 #89FAF2
split-complementary
#B989FA #FAF289 #91FA89
monochromatic
#7314F5 #964EF8 #B989FA #DCC4FC #EEE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B989FA#FFFFFF#000000##000000
##B989FA1.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)
#699FFE
Deuteranopia (green-blind)
#74A0F7
Tritanopia (blue-blind)
#AD9DB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b989fa;
/* rgb */ color: rgb(185, 137, 250);
/* oklch */ color: oklch(72.2% 0.165 302.0);
Tailwind
colors: {
  custom: {
    50: '#d0acfc',
    500: '#b989fa',
    950: '#000000',
  },
}
SCSS
$custom: #b989fa;
$custom-light: #d0acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b989fa",
  "rgb": {
    "r": 185,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 265.487,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72192,
    "c": 0.16473,
    "h": 302
  },
  "luminance": 0.35108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B989FA

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

Preview Lab → · Contrast checker → · Palette generator →

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