#B98DCD#B98DCD

#B98DCD is a light, moderate purple. Relative luminance 0.338; OKLCH L 70.8% C 0.103 H 315.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B98DCD
RGBrgb(185, 141, 205)
HSLhsl(281, 39%, 68%)
HSVhsv(281, 31%, 80%)
CMYKcmyk(9.8%, 31.2%, 0%, 19.6%)
CIE-LABlab(64.78, 28.21, -26.61)
CIE-LCHlch(64.78, 38.78, 316.67°)
OKLaboklab(70.75% 0.0727 -0.0728)
OKLCHoklch(70.75% 0.103 315)
XYZxyz(40.5502, 33.7726, 62.1284)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98DCD #A1CD8D
analogous
#998DCD #B98DCD #CD8DC1
triadic
#B98DCD #CDB98D #8DCDB9
tetradic
#B98DCD #CD998D #A1CD8D #8DC1CD
square
#B98DCD #CD998D #A1CD8D #8DC1CD
split-complementary
#B98DCD #C1CD8D #8DCD99
monochromatic
#80449B #9F62BA #B98DCD #D3B8E0 #EDE2F2

Accessibility & contrast

On white

2.71
#B98DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B98DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98DCD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98DCD#FFFFFF#000000##000000
##B98DCD1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#849BD0
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#B895A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b98dcd;
/* rgb */ color: rgb(185, 141, 205);
/* oklch */ color: oklch(70.8% 0.103 315.0);
Tailwind
colors: {
  custom: {
    50: '#ceafdc',
    500: '#b98dcd',
    950: '#000000',
  },
}
SCSS
$custom: #b98dcd;
$custom-light: #ceafdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b98dcd",
  "rgb": {
    "r": 185,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 281.25,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70754,
    "c": 0.10284,
    "h": 315
  },
  "luminance": 0.33772
}

Semantic roles & 50–950 ramp

primary
#B98DCD
secondary
#D7E5D1
accent
#B2335B
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #B98DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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