#B98BDA#B98BDA

#B98BDA is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.0% C 0.122 H 310.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B98BDA
RGBrgb(185, 139, 218)
HSLhsl(275, 52%, 70%)
HSVhsv(275, 36%, 85%)
CMYKcmyk(15.1%, 36.2%, 0%, 14.5%)
CIE-LABlab(64.84, 32.08, -33.77)
CIE-LCHlch(64.84, 46.57, 313.53°)
OKLaboklab(70.97% 0.0788 -0.0931)
OKLCHoklch(70.97% 0.122 310.2)
XYZxyz(41.8928, 33.8420, 70.6413)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98BDA #ACDA8B
analogous
#928BDA #B98BDA #DA8BD3
triadic
#B98BDA #DAB98B #8BDAB9
tetradic
#B98BDA #DA928B #ACDA8B #8BD3DA
square
#B98BDA #DA928B #ACDA8B #8BD3DA
split-complementary
#B98BDA #D3DA8B #8BDA92
monochromatic
#7F39B2 #9D5DCB #B98BDA #D5B9E9 #F1E8F8

Accessibility & contrast

On white

2.70
#B98BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B98BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98BDA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98BDA#FFFFFF#000000##000000
##B98BDA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9BDD
Deuteranopia (green-blind)
#879ED8
Tritanopia (blue-blind)
#B596A8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b98bda;
/* rgb */ color: rgb(185, 139, 218);
/* oklch */ color: oklch(71.0% 0.122 310.2);
Tailwind
colors: {
  custom: {
    50: '#cfade5',
    500: '#b98bda',
    950: '#000000',
  },
}
SCSS
$custom: #b98bda;
$custom-light: #cfade5;
$custom-dark: #000000;
JSON
{
  "hex": "#b98bda",
  "rgb": {
    "r": 185,
    "g": 139,
    "b": 218
  },
  "hsl": {
    "h": 274.937,
    "s": 51.634,
    "l": 70
  },
  "oklch": {
    "l": 0.70968,
    "c": 0.12203,
    "h": 310.2
  },
  "luminance": 0.33841
}

Semantic roles & 50–950 ramp

primary
#B98BDA
secondary
#DFEBD5
accent
#BF2666
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B98BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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