#B98DDD#B98DDD

#B98DDD is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.5% C 0.122 H 308.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B98DDD
RGBrgb(185, 141, 221)
HSLhsl(273, 54%, 71%)
HSVhsv(273, 36%, 87%)
CMYKcmyk(16.3%, 36.2%, 0%, 13.3%)
CIE-LABlab(65.42, 31.62, -34.52)
CIE-LCHlch(65.42, 46.81, 312.49°)
OKLaboklab(71.45% 0.0766 -0.0953)
OKLCHoklch(71.45% 0.122 308.8)
XYZxyz(42.5812, 34.5850, 72.8250)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98DDD #B1DD8D
analogous
#918DDD #B98DDD #DD8DD9
triadic
#B98DDD #DDB98D #8DDDB9
tetradic
#B98DDD #DD918D #B1DD8D #8DD9DD
square
#B98DDD #DD918D #B1DD8D #8DD9DD
split-complementary
#B98DDD #D9DD8D #8DDD91
monochromatic
#7E37B9 #9C5ECF #B98DDD #D6BCEB #F1E7F8

Accessibility & contrast

On white

2.65
#B98DDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B98DDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98DDD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98DDD#FFFFFF#000000##000000
##B98DDD1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE0
Deuteranopia (green-blind)
#87A0DB
Tritanopia (blue-blind)
#B599AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b98ddd;
/* rgb */ color: rgb(185, 141, 221);
/* oklch */ color: oklch(71.5% 0.122 308.8);
Tailwind
colors: {
  custom: {
    50: '#cfafe8',
    500: '#b98ddd',
    950: '#000000',
  },
}
SCSS
$custom: #b98ddd;
$custom-light: #cfafe8;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ddd",
  "rgb": {
    "r": 185,
    "g": 141,
    "b": 221
  },
  "hsl": {
    "h": 273,
    "s": 54.054,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71454,
    "c": 0.12229,
    "h": 308.8
  },
  "luminance": 0.34584
}

Semantic roles & 50–950 ramp

primary
#B98DDD
secondary
#E2EED8
accent
#C2246B
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B98DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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