#B98FCD#B98FCD

#B98FCD is a light, moderate purple. Relative luminance 0.344; OKLCH L 71.1% C 0.099 H 314.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B98FCD
RGBrgb(185, 143, 205)
HSLhsl(281, 38%, 68%)
HSVhsv(281, 30%, 80%)
CMYKcmyk(9.8%, 30.2%, 0%, 19.6%)
CIE-LABlab(65.25, 27.09, -25.88)
CIE-LCHlch(65.25, 37.47, 316.31°)
OKLaboklab(71.11% 0.0697 -0.0707)
OKLCHoklch(71.11% 0.099 314.6)
XYZxyz(40.8478, 34.3677, 62.2276)
Luminance0.3437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FCD #A3CD8F
analogous
#9A8FCD #B98FCD #CD8FC2
triadic
#B98FCD #CDB98F #8FCDB9
tetradic
#B98FCD #CD9A8F #A3CD8F #8FC2CD
square
#B98FCD #CD9A8F #A3CD8F #8FC2CD
split-complementary
#B98FCD #C2CD8F #8FCD9A
monochromatic
#80469C #9F65BA #B98FCD #D3B9E0 #EEE4F3

Accessibility & contrast

On white

2.67
#B98FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#B98FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FCD
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FCD#FFFFFF#000000##000000
##B98FCD1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCF
Deuteranopia (green-blind)
#8FA0CB
Tritanopia (blue-blind)
#B897A5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b98fcd;
/* rgb */ color: rgb(185, 143, 205);
/* oklch */ color: oklch(71.1% 0.099 314.6);
Tailwind
colors: {
  custom: {
    50: '#ceb0dc',
    500: '#b98fcd',
    950: '#000000',
  },
}
SCSS
$custom: #b98fcd;
$custom-light: #ceb0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b98fcd",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 205
  },
  "hsl": {
    "h": 280.645,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71114,
    "c": 0.09929,
    "h": 314.6
  },
  "luminance": 0.34367
}

Semantic roles & 50–950 ramp

primary
#B98FCD
secondary
#D9E5D2
accent
#B1345D
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #B98FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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