#B98FCA#B98FCA

#B98FCA is a light, moderate purple. Relative luminance 0.342; OKLCH L 71.0% C 0.096 H 316.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#B98FCA
RGBrgb(185, 143, 202)
HSLhsl(283, 36%, 68%)
HSVhsv(283, 29%, 79%)
CMYKcmyk(8.4%, 29.2%, 0%, 20.8%)
CIE-LABlab(65.14, 26.47, -24.38)
CIE-LCHlch(65.14, 35.99, 317.36°)
OKLaboklab(70.99% 0.0689 -0.0665)
OKLCHoklch(70.99% 0.096 316)
XYZxyz(40.4891, 34.2242, 60.3387)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FCA #A0CA8F
analogous
#9B8FCA #B98FCA #CA8FBD
triadic
#B98FCA #CAB98F #8FCAB9
tetradic
#B98FCA #CA9B8F #A0CA8F #8FBDCA
square
#B98FCA #CA9B8F #A0CA8F #8FBDCA
split-complementary
#B98FCA #BDCA8F #8FCA9B
monochromatic
#804897 #9F65B6 #B98FCA #D3B9DE #EDE2F1

Accessibility & contrast

On white

2.68
#B98FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#B98FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FCA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FCA#FFFFFF#000000##000000
##B98FCA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCC
Deuteranopia (green-blind)
#909FC8
Tritanopia (blue-blind)
#B996A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b98fca;
/* rgb */ color: rgb(185, 143, 202);
/* oklch */ color: oklch(71.0% 0.096 316.0);
Tailwind
colors: {
  custom: {
    50: '#ceb0da',
    500: '#b98fca',
    950: '#000000',
  },
}
SCSS
$custom: #b98fca;
$custom-light: #ceb0da;
$custom-dark: #000000;
JSON
{
  "hex": "#b98fca",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 282.712,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7099,
    "c": 0.09573,
    "h": 316
  },
  "luminance": 0.34223
}

Semantic roles & 50–950 ramp

primary
#B98FCA
secondary
#D7E4D1
accent
#AF3759
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #B98FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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