#B98FF6#B98FF6

#B98FF6 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.0% C 0.150 H 301.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B98FF6
RGBrgb(185, 143, 246)
HSLhsl(264, 85%, 76%)
HSVhsv(264, 42%, 96%)
CMYKcmyk(24.8%, 41.9%, 0%, 3.5%)
CIE-LABlab(66.99, 36.17, -45.85)
CIE-LCHlch(66.99, 58.41, 308.27°)
OKLaboklab(73% 0.0787 -0.128)
OKLCHoklch(73% 0.15 301.6)
XYZxyz(46.4609, 36.6129, 91.7902)
Luminance0.3661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FF6 #CCF68F
analogous
#8F99F6 #B98FF6 #ED8FF6
triadic
#B98FF6 #F6B98F #8FF6B9
tetradic
#B98FF6 #F68F99 #CCF68F #8FF6ED
square
#B98FF6 #F68F99 #CCF68F #8FF6ED
split-complementary
#B98FF6 #F6ED8F #99F68F
monochromatic
#721EED #9656F1 #B98FF6 #DCC8FB #EDE3FD

Accessibility & contrast

On white

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

On black

8.32
#B98FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FF6
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FF6#FFFFFF#000000##000000
##B98FF61.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2FA
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#AEA0B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b98ff6;
/* rgb */ color: rgb(185, 143, 246);
/* oklch */ color: oklch(73.0% 0.150 301.6);
Tailwind
colors: {
  custom: {
    50: '#d0b0f9',
    500: '#b98ff6',
    950: '#000000',
  },
}
SCSS
$custom: #b98ff6;
$custom-light: #d0b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ff6",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 264.466,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72997,
    "c": 0.15027,
    "h": 301.6
  },
  "luminance": 0.36613
}

Semantic roles & 50–950 ramp

primary
#B98FF6
secondary
#E8F5D6
accent
#E20487
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85

Preview Lab

Preview with #B98FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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