#B98BFA#B98BFA

#B98BFA is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.5% C 0.162 H 301.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B98BFA
RGBrgb(185, 139, 250)
HSLhsl(265, 92%, 76%)
HSVhsv(265, 44%, 98%)
CMYKcmyk(26%, 44.4%, 0%, 2%)
CIE-LABlab(66.28, 39.32, -49.16)
CIE-LCHlch(66.28, 62.95, 308.65°)
OKLaboklab(72.52% 0.0847 -0.1376)
OKLCHoklch(72.52% 0.162 301.6)
XYZxyz(46.4917, 35.6816, 94.8619)
Luminance0.3568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98BFA #CCFA8B
analogous
#8B95FA #B98BFA #F18BFA
triadic
#B98BFA #FAB98B #8BFAB9
tetradic
#B98BFA #FA8B95 #CCFA8B #8BFAF1
square
#B98BFA #FA8B95 #CCFA8B #8BFAF1
split-complementary
#B98BFA #FAF18B #95FA8B
monochromatic
#7216F5 #9650F7 #B98BFA #DCC6FD #EDE2FE

Accessibility & contrast

On white

2.58
#B98BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B98BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98BFA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98BFA#FFFFFF#000000##000000
##B98BFA1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FE
Deuteranopia (green-blind)
#76A1F7
Tritanopia (blue-blind)
#AD9EB7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b98bfa;
/* rgb */ color: rgb(185, 139, 250);
/* oklch */ color: oklch(72.5% 0.162 301.6);
Tailwind
colors: {
  custom: {
    50: '#d0adfc',
    500: '#b98bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b98bfa;
$custom-light: #d0adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b98bfa",
  "rgb": {
    "r": 185,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 264.865,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72525,
    "c": 0.1616,
    "h": 301.6
  },
  "luminance": 0.35682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B98BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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