#B98FEB#B98FEB

#B98FEB is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.5% C 0.136 H 304.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B98FEB
RGBrgb(185, 143, 235)
HSLhsl(267, 70%, 74%)
HSVhsv(267, 39%, 92%)
CMYKcmyk(21.3%, 39.1%, 0%, 7.8%)
CIE-LABlab(66.49, 33.63, -40.60)
CIE-LCHlch(66.49, 52.72, 309.64°)
OKLaboklab(72.46% 0.0767 -0.1128)
OKLCHoklch(72.46% 0.136 304.2)
XYZxyz(44.8223, 35.9575, 83.1603)
Luminance0.3596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FEB #C1EB8F
analogous
#8F93EB #B98FEB #E78FEB
triadic
#B98FEB #EBB98F #8FEBB9
tetradic
#B98FEB #EB8F93 #C1EB8F #8FEBE7
square
#B98FEB #EB8F93 #C1EB8F #8FEBE7
split-complementary
#B98FEB #EBE78F #93EB8F
monochromatic
#7827D8 #995BE2 #B98FEB #D9C3F4 #EFE5FA

Accessibility & contrast

On white

2.56
#B98FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B98FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FEB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FEB#FFFFFF#000000##000000
##B98FEB1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#B19EB2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b98feb;
/* rgb */ color: rgb(185, 143, 235);
/* oklch */ color: oklch(72.5% 0.136 304.2);
Tailwind
colors: {
  custom: {
    50: '#cfb0f2',
    500: '#b98feb',
    950: '#000000',
  },
}
SCSS
$custom: #b98feb;
$custom-light: #cfb0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b98feb",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 267.391,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72458,
    "c": 0.13641,
    "h": 304.2
  },
  "luminance": 0.35957
}

Semantic roles & 50–950 ramp

primary
#B98FEB
secondary
#E7F2D9
accent
#D2147B
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #B98FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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