#B98DEB#B98DEB

#B98DEB is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.1% C 0.140 H 304.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B98DEB
RGBrgb(185, 141, 235)
HSLhsl(268, 70%, 74%)
HSVhsv(268, 40%, 92%)
CMYKcmyk(21.3%, 40%, 0%, 7.8%)
CIE-LABlab(66.03, 34.74, -41.31)
CIE-LCHlch(66.03, 53.98, 310.06°)
OKLaboklab(72.11% 0.0795 -0.1148)
OKLCHoklch(72.11% 0.14 304.7)
XYZxyz(44.5248, 35.3624, 83.0611)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98DEB #BFEB8D
analogous
#8D90EB #B98DEB #E88DEB
triadic
#B98DEB #EBB98D #8DEBB9
tetradic
#B98DEB #EB8D90 #BFEB8D #8DEBE8
square
#B98DEB #EB8D90 #BFEB8D #8DEBE8
split-complementary
#B98DEB #EBE88D #90EB8D
monochromatic
#7926D8 #9959E2 #B98DEB #D9C1F4 #EFE5FA

Accessibility & contrast

On white

2.60
#B98DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#B98DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98DEB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98DEB#FFFFFF#000000##000000
##B98DEB1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#B19CB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b98deb;
/* rgb */ color: rgb(185, 141, 235);
/* oklch */ color: oklch(72.1% 0.140 304.7);
Tailwind
colors: {
  custom: {
    50: '#cfaff2',
    500: '#b98deb',
    950: '#000000',
  },
}
SCSS
$custom: #b98deb;
$custom-light: #cfaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b98deb",
  "rgb": {
    "r": 185,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 268.085,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72112,
    "c": 0.13969,
    "h": 304.7
  },
  "luminance": 0.35362
}

Semantic roles & 50–950 ramp

primary
#B98DEB
secondary
#E6F2D9
accent
#D21379
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B98DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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