#B98FFB#B98FFB

#B98FFB is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.3% C 0.157 H 300.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B98FFB
RGBrgb(185, 143, 251)
HSLhsl(263, 93%, 77%)
HSVhsv(263, 43%, 98%)
CMYKcmyk(26.3%, 43%, 0%, 1.6%)
CIE-LABlab(67.22, 37.35, -48.22)
CIE-LCHlch(67.22, 60.99, 307.76°)
OKLaboklab(73.25% 0.0795 -0.1349)
OKLCHoklch(73.25% 0.157 300.5)
XYZxyz(47.2387, 36.9241, 95.8864)
Luminance0.3692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FFB #D1FB8F
analogous
#8F9BFB #B98FFB #EF8FFB
triadic
#B98FFB #FBB98F #8FFBB9
tetradic
#B98FFB #FB8F9B #D1FB8F #8FFBEF
square
#B98FFB #FB8F9B #D1FB8F #8FFBEF
split-complementary
#B98FFB #FBEF8F #9BFB8F
monochromatic
#6F19F7 #9454F9 #B98FFB #DECAFD #EDE1FE

Accessibility & contrast

On white

2.50
#B98FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#B98FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FFB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FFB#FFFFFF#000000##000000
##B98FFB1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#ADA2B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b98ffb;
/* rgb */ color: rgb(185, 143, 251);
/* oklch */ color: oklch(73.3% 0.157 300.5);
Tailwind
colors: {
  custom: {
    50: '#d0b0fd',
    500: '#b98ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b98ffb;
$custom-light: #d0b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ffb",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 263.333,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7325,
    "c": 0.15657,
    "h": 300.5
  },
  "luminance": 0.36924
}

Semantic roles & 50–950 ramp

primary
#B98FFB
secondary
#E9F6D5
accent
#E6008C
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141017
muted
#837F85

Preview Lab

Preview with #B98FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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