#B98DED#B98DED

#B98DED is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.2% C 0.142 H 304.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B98DED
RGBrgb(185, 141, 237)
HSLhsl(268, 73%, 74%)
HSVhsv(268, 41%, 93%)
CMYKcmyk(21.9%, 40.5%, 0%, 7.1%)
CIE-LABlab(66.12, 35.20, -42.27)
CIE-LCHlch(66.12, 55.01, 309.78°)
OKLaboklab(72.21% 0.0799 -0.1176)
OKLCHoklch(72.21% 0.142 304.2)
XYZxyz(44.8153, 35.4786, 84.5914)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98DED #C1ED8D
analogous
#8D91ED #B98DED #E98DED
triadic
#B98DED #EDB98D #8DEDB9
tetradic
#B98DED #ED8D91 #C1ED8D #8DEDE9
square
#B98DED #ED8D91 #C1ED8D #8DEDE9
split-complementary
#B98DED #EDE98D #91ED8D
monochromatic
#7823DC #9958E5 #B98DED #D9C2F5 #EFE5FB

Accessibility & contrast

On white

2.59
#B98DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B98DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98DED
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98DED#FFFFFF#000000##000000
##B98DED1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#769FF1
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#B19DB2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b98ded;
/* rgb */ color: rgb(185, 141, 237);
/* oklch */ color: oklch(72.2% 0.142 304.2);
Tailwind
colors: {
  custom: {
    50: '#cfaff3',
    500: '#b98ded',
    950: '#000000',
  },
}
SCSS
$custom: #b98ded;
$custom-light: #cfaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ded",
  "rgb": {
    "r": 185,
    "g": 141,
    "b": 237
  },
  "hsl": {
    "h": 267.5,
    "s": 72.727,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72209,
    "c": 0.14219,
    "h": 304.2
  },
  "luminance": 0.35478
}

Semantic roles & 50–950 ramp

primary
#B98DED
secondary
#E7F2D9
accent
#D5117B
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B98DED

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

Preview Lab → · Contrast checker → · Palette generator →

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