#B98FEE#B98FEE

#B98FEE is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.6% C 0.140 H 303.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B98FEE
RGBrgb(185, 143, 238)
HSLhsl(267, 74%, 75%)
HSVhsv(267, 40%, 93%)
CMYKcmyk(22.3%, 39.9%, 0%, 6.7%)
CIE-LABlab(66.62, 34.32, -42.04)
CIE-LCHlch(66.62, 54.27, 309.23°)
OKLaboklab(72.6% 0.0773 -0.117)
OKLCHoklch(72.6% 0.14 303.5)
XYZxyz(45.2594, 36.1323, 85.4622)
Luminance0.3613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FEE #C4EE8F
analogous
#8F95EE #B98FEE #E88FEE
triadic
#B98FEE #EEB98F #8FEEB9
tetradic
#B98FEE #EE8F95 #C4EE8F #8FEEE8
square
#B98FEE #EE8F95 #C4EE8F #8FEEE8
split-complementary
#B98FEE #EEE88F #95EE8F
monochromatic
#7725DE #985AE6 #B98FEE #DAC4F6 #EEE4FB

Accessibility & contrast

On white

2.55
#B98FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B98FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FEE
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FEE#FFFFFF#000000##000000
##B98FEE1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F2
Deuteranopia (green-blind)
#81A2EB
Tritanopia (blue-blind)
#B09EB3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b98fee;
/* rgb */ color: rgb(185, 143, 238);
/* oklch */ color: oklch(72.6% 0.140 303.5);
Tailwind
colors: {
  custom: {
    50: '#cfb0f4',
    500: '#b98fee',
    950: '#000000',
  },
}
SCSS
$custom: #b98fee;
$custom-light: #cfb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b98fee",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 266.526,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72602,
    "c": 0.1402,
    "h": 303.5
  },
  "luminance": 0.36132
}

Semantic roles & 50–950 ramp

primary
#B98FEE
secondary
#E7F3D8
accent
#D6107E
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #B98FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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