#B98EFF#B98EFF

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

Color values

HEX#B98EFF
RGBrgb(185, 142, 255)
HSLhsl(263, 100%, 78%)
HSVhsv(263, 44%, 100%)
CMYKcmyk(27.5%, 44.3%, 0%, 0%)
CIE-LABlab(67.19, 38.85, -50.46)
CIE-LCHlch(67.19, 63.68, 307.60°)
OKLaboklab(73.29% 0.0815 -0.1414)
OKLCHoklch(73.29% 0.163 300)
XYZxyz(47.7264, 36.8800, 99.1925)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98EFF #D4FF8E
analogous
#8E9BFF #B98EFF #F28EFF
triadic
#B98EFF #FFB98E #8EFFB9
tetradic
#B98EFF #FF8E9B #D4FF8E #8EFFF2
square
#B98EFF #FF8E9B #D4FF8E #8EFFF2
split-complementary
#B98EFF #FFF28E #9BFF8E
monochromatic
#6D14FF #9351FF #B98EFF #DFCBFF #ECE0FF

Accessibility & contrast

On white

2.51
#B98EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B98EFF#FFFFFF#000000##000000
##B98EFF1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#ABA2BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b98eff;
/* rgb */ color: rgb(185, 142, 255);
/* oklch */ color: oklch(73.3% 0.163 300.0);
Tailwind
colors: {
  custom: {
    50: '#d0b0ff',
    500: '#b98eff',
    950: '#000000',
  },
}
SCSS
$custom: #b98eff;
$custom-light: #d0b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b98eff",
  "rgb": {
    "r": 185,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 262.832,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73288,
    "c": 0.16316,
    "h": 300
  },
  "luminance": 0.3688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B98EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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