#B98BD2#B98BD2

#B98BD2 is a light, moderate violet. Relative luminance 0.334; OKLCH L 70.6% C 0.112 H 313.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#B98BD2
RGBrgb(185, 139, 210)
HSLhsl(279, 44%, 68%)
HSVhsv(279, 34%, 82%)
CMYKcmyk(11.9%, 33.8%, 0%, 17.6%)
CIE-LABlab(64.51, 30.37, -29.82)
CIE-LCHlch(64.51, 42.56, 315.53°)
OKLaboklab(70.61% 0.0769 -0.0819)
OKLCHoklch(70.61% 0.112 313.2)
XYZxyz(40.8712, 33.4334, 65.2605)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98BD2 #A4D28B
analogous
#958BD2 #B98BD2 #D28BC7
triadic
#B98BD2 #D2B98B #8BD2B9
tetradic
#B98BD2 #D2958B #A4D28B #8BC7D2
square
#B98BD2 #D2958B #A4D28B #8BC7D2
split-complementary
#B98BD2 #C7D28B #8BD295
monochromatic
#803FA3 #9E5FC1 #B98BD2 #D4B7E3 #EEE3F4

Accessibility & contrast

On white

2.73
#B98BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#B98BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98BD2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98BD2#FFFFFF#000000##000000
##B98BD21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9AD5
Deuteranopia (green-blind)
#8A9ED0
Tritanopia (blue-blind)
#B794A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b98bd2;
/* rgb */ color: rgb(185, 139, 210);
/* oklch */ color: oklch(70.6% 0.112 313.2);
Tailwind
colors: {
  custom: {
    50: '#cfade0',
    500: '#b98bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b98bd2;
$custom-light: #cfade0;
$custom-dark: #000000;
JSON
{
  "hex": "#b98bd2",
  "rgb": {
    "r": 185,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 278.873,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70612,
    "c": 0.11234,
    "h": 313.2
  },
  "luminance": 0.33433
}

Semantic roles & 50–950 ramp

primary
#B98BD2
secondary
#D9E7D2
accent
#B72E5E
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #B98BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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