#B98DCA#B98DCA

#B98DCA is a light, moderate purple. Relative luminance 0.336; OKLCH L 70.6% C 0.099 H 316.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B98DCA
RGBrgb(185, 141, 202)
HSLhsl(283, 37%, 67%)
HSVhsv(283, 30%, 79%)
CMYKcmyk(8.4%, 30.2%, 0%, 20.8%)
CIE-LABlab(64.67, 27.59, -25.11)
CIE-LCHlch(64.67, 37.30, 317.70°)
OKLaboklab(70.63% 0.0719 -0.0685)
OKLCHoklch(70.63% 0.099 316.4)
XYZxyz(40.1915, 33.6291, 60.2395)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98DCA #9ECA8D
analogous
#9B8DCA #B98DCA #CA8DBC
triadic
#B98DCA #CAB98D #8DCAB9
tetradic
#B98DCA #CA9B8D #9ECA8D #8DBCCA
square
#B98DCA #CA9B8D #9ECA8D #8DBCCA
split-complementary
#B98DCA #BCCA8D #8DCA9B
monochromatic
#804697 #9F63B7 #B98DCA #D3B7DD #ECE1F1

Accessibility & contrast

On white

2.72
#B98DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#B98DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98DCA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98DCA#FFFFFF#000000##000000
##B98DCA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ACC
Deuteranopia (green-blind)
#8F9EC8
Tritanopia (blue-blind)
#B994A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b98dca;
/* rgb */ color: rgb(185, 141, 202);
/* oklch */ color: oklch(70.6% 0.099 316.4);
Tailwind
colors: {
  custom: {
    50: '#ceaeda',
    500: '#b98dca',
    950: '#000000',
  },
}
SCSS
$custom: #b98dca;
$custom-light: #ceaeda;
$custom-dark: #000000;
JSON
{
  "hex": "#b98dca",
  "rgb": {
    "r": 185,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 283.279,
    "s": 36.527,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70629,
    "c": 0.0993,
    "h": 316.4
  },
  "luminance": 0.33628
}

Semantic roles & 50–950 ramp

primary
#B98DCA
secondary
#D5E3D0
accent
#AF3658
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #B98DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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