#B98FF8#B98FF8

#B98FF8 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.1% C 0.153 H 301.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B98FF8
RGBrgb(185, 143, 248)
HSLhsl(264, 88%, 77%)
HSVhsv(264, 42%, 97%)
CMYKcmyk(25.4%, 42.3%, 0%, 2.7%)
CIE-LABlab(67.08, 36.64, -46.80)
CIE-LCHlch(67.08, 59.44, 308.06°)
OKLaboklab(73.1% 0.0791 -0.1307)
OKLCHoklch(73.1% 0.153 301.2)
XYZxyz(46.7695, 36.7364, 93.4156)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FF8 #CEF88F
analogous
#8F9AF8 #B98FF8 #EE8FF8
triadic
#B98FF8 #F8B98F #8FF8B9
tetradic
#B98FF8 #F88F9A #CEF88F #8FF8EE
square
#B98FF8 #F88F9A #CEF88F #8FF8EE
split-complementary
#B98FF8 #F8EE8F #9AF88F
monochromatic
#711CF1 #9555F4 #B98FF8 #DDC9FC #EDE2FD

Accessibility & contrast

On white

2.52
#B98FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B98FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FF8
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FF8#FFFFFF#000000##000000
##B98FF81.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FC
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#ADA1B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b98ff8;
/* rgb */ color: rgb(185, 143, 248);
/* oklch */ color: oklch(73.1% 0.153 301.2);
Tailwind
colors: {
  custom: {
    50: '#d0b0fb',
    500: '#b98ff8',
    950: '#000000',
  },
}
SCSS
$custom: #b98ff8;
$custom-light: #d0b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ff8",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 264,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.73098,
    "c": 0.15279,
    "h": 301.2
  },
  "luminance": 0.36737
}

Semantic roles & 50–950 ramp

primary
#B98FF8
secondary
#E9F5D6
accent
#E5018A
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85

Preview Lab

Preview with #B98FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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