#B98DFF#B98DFF

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

Color values

HEX#B98DFF
RGBrgb(185, 141, 255)
HSLhsl(263, 100%, 78%)
HSVhsv(263, 45%, 100%)
CMYKcmyk(27.5%, 44.7%, 0%, 0%)
CIE-LABlab(66.96, 39.40, -50.81)
CIE-LCHlch(66.96, 64.30, 307.79°)
OKLaboklab(73.12% 0.0828 -0.1424)
OKLCHoklch(73.12% 0.165 300.2)
XYZxyz(47.5783, 36.5838, 99.1431)
Luminance0.3658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98DFF #D3FF8D
analogous
#8D9AFF #B98DFF #F28DFF
triadic
#B98DFF #FFB98D #8DFFB9
tetradic
#B98DFF #FF8D9A #D3FF8D #8DFFF2
square
#B98DFF #FF8D9A #D3FF8D #8DFFF2
split-complementary
#B98DFF #FFF28D #9AFF8D
monochromatic
#6E13FF #9350FF #B98DFF #DFCAFF #ECE0FF

Accessibility & contrast

On white

2.53
#B98DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B98DFF#FFFFFF#000000##000000
##B98DFF1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#ACA1BA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b98dff;
/* rgb */ color: rgb(185, 141, 255);
/* oklch */ color: oklch(73.1% 0.165 300.2);
Tailwind
colors: {
  custom: {
    50: '#d0afff',
    500: '#b98dff',
    950: '#000000',
  },
}
SCSS
$custom: #b98dff;
$custom-light: #d0afff;
$custom-dark: #000000;
JSON
{
  "hex": "#b98dff",
  "rgb": {
    "r": 185,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 263.158,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7312,
    "c": 0.1647,
    "h": 300.2
  },
  "luminance": 0.36584
}

Semantic roles & 50–950 ramp

primary
#B98DFF
secondary
#EAF7D4
accent
#E6008D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #B98DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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