#B98BEE#B98BEE

#B98BEE is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.9% C 0.147 H 304.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#B98BEE
RGBrgb(185, 139, 238)
HSLhsl(268, 74%, 74%)
HSVhsv(268, 42%, 93%)
CMYKcmyk(22.3%, 41.6%, 0%, 6.7%)
CIE-LABlab(65.71, 36.54, -43.46)
CIE-LCHlch(65.71, 56.78, 310.05°)
OKLaboklab(71.92% 0.0828 -0.1211)
OKLCHoklch(71.92% 0.147 304.4)
XYZxyz(44.6696, 34.9527, 85.2656)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98BEE #C0EE8B
analogous
#8B8FEE #B98BEE #EB8BEE
triadic
#B98BEE #EEB98B #8BEEB9
tetradic
#B98BEE #EE8B8F #C0EE8B #8BEEEB
square
#B98BEE #EE8B8F #C0EE8B #8BEEEB
split-complementary
#B98BEE #EEEB8B #8FEE8B
monochromatic
#7921DE #9956E6 #B98BEE #D9C0F6 #EFE4FB

Accessibility & contrast

On white

2.63
#B98BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#B98BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98BEE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98BEE#FFFFFF#000000##000000
##B98BEE1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF2
Deuteranopia (green-blind)
#7DA0EB
Tritanopia (blue-blind)
#B09BB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b98bee;
/* rgb */ color: rgb(185, 139, 238);
/* oklch */ color: oklch(71.9% 0.147 304.4);
Tailwind
colors: {
  custom: {
    50: '#d0adf4',
    500: '#b98bee',
    950: '#000000',
  },
}
SCSS
$custom: #b98bee;
$custom-light: #d0adf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b98bee",
  "rgb": {
    "r": 185,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 267.879,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71916,
    "c": 0.14669,
    "h": 304.4
  },
  "luminance": 0.34953
}

Semantic roles & 50–950 ramp

primary
#B98BEE
secondary
#E6F3D8
accent
#D70F7A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B98BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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