#B98FFE#B98FFE

#B98FFE is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.4% C 0.160 H 299.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B98FFE
RGBrgb(185, 143, 254)
HSLhsl(263, 98%, 78%)
HSVhsv(263, 44%, 100%)
CMYKcmyk(27.2%, 43.7%, 0%, 0.4%)
CIE-LABlab(67.36, 38.06, -49.63)
CIE-LCHlch(67.36, 62.55, 307.48°)
OKLaboklab(73.41% 0.08 -0.139)
OKLCHoklch(73.41% 0.16 299.9)
XYZxyz(47.7153, 37.1147, 98.3968)
Luminance0.3711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FFE #D4FE8F
analogous
#8F9CFE #B98FFE #F18FFE
triadic
#B98FFE #FEB98F #8FFEB9
tetradic
#B98FFE #FE8F9C #D4FE8F #8FFEF1
square
#B98FFE #FE8F9C #D4FE8F #8FFEF1
split-complementary
#B98FFE #FEF18F #9CFE8F
monochromatic
#6D16FD #9352FD #B98FFE #DFCCFF #ECE1FF

Accessibility & contrast

On white

2.49
#B98FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B98FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FFE
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FFE#FFFFFF#000000##000000
##B98FFE1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#ACA3BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b98ffe;
/* rgb */ color: rgb(185, 143, 254);
/* oklch */ color: oklch(73.4% 0.160 299.9);
Tailwind
colors: {
  custom: {
    50: '#d0b0ff',
    500: '#b98ffe',
    950: '#000000',
  },
}
SCSS
$custom: #b98ffe;
$custom-light: #d0b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ffe",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 262.703,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73405,
    "c": 0.16035,
    "h": 299.9
  },
  "luminance": 0.37115
}

Semantic roles & 50–950 ramp

primary
#B98FFE
secondary
#EAF7D4
accent
#E6008F
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #B98FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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