#B98BCA#B98BCA

#B98BCA is a light, moderate purple. Relative luminance 0.330; OKLCH L 70.3% C 0.103 H 316.7°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B98BCA
RGBrgb(185, 139, 202)
HSLhsl(284, 37%, 67%)
HSVhsv(284, 31%, 79%)
CMYKcmyk(8.4%, 31.2%, 0%, 20.8%)
CIE-LABlab(64.20, 28.70, -25.83)
CIE-LCHlch(64.20, 38.61, 318.02°)
OKLaboklab(70.27% 0.0749 -0.0705)
OKLCHoklch(70.27% 0.103 316.7)
XYZxyz(39.8993, 33.0446, 60.1421)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98BCA #9CCA8B
analogous
#9A8BCA #B98BCA #CA8BBB
triadic
#B98BCA #CAB98B #8BCAB9
tetradic
#B98BCA #CA9A8B #9CCA8B #8BBBCA
square
#B98BCA #CA9A8B #9CCA8B #8BBBCA
split-complementary
#B98BCA #BBCA8B #8BCA9A
monochromatic
#804596 #A061B7 #B98BCA #D2B5DD #ECDFF0

Accessibility & contrast

On white

2.76
#B98BCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#B98BCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98BCA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98BCA#FFFFFF#000000##000000
##B98BCA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8299CC
Deuteranopia (green-blind)
#8D9DC8
Tritanopia (blue-blind)
#B992A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b98bca;
/* rgb */ color: rgb(185, 139, 202);
/* oklch */ color: oklch(70.3% 0.103 316.7);
Tailwind
colors: {
  custom: {
    50: '#cfadda',
    500: '#b98bca',
    950: '#000000',
  },
}
SCSS
$custom: #b98bca;
$custom-light: #cfadda;
$custom-dark: #000000;
JSON
{
  "hex": "#b98bca",
  "rgb": {
    "r": 185,
    "g": 139,
    "b": 202
  },
  "hsl": {
    "h": 283.81,
    "s": 37.278,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70271,
    "c": 0.10287,
    "h": 316.7
  },
  "luminance": 0.33044
}

Semantic roles & 50–950 ramp

primary
#B98BCA
secondary
#D4E2CE
accent
#B03556
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #B98BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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