#9D6498#9D6498

#9D6498 is a mid, moderate purple. Relative luminance 0.185; OKLCH L 58.3% C 0.102 H 329.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9D6498
RGBrgb(157, 100, 152)
HSLhsl(305, 23%, 50%)
HSVhsv(305, 36%, 62%)
CMYKcmyk(0%, 36.3%, 3.2%, 38.4%)
CIE-LABlab(50.16, 31.43, -18.92)
CIE-LCHlch(50.16, 36.69, 328.96°)
OKLaboklab(58.29% 0.0884 -0.0512)
OKLCHoklch(58.29% 0.102 329.9)
XYZxyz(24.1289, 18.5505, 32.0093)
Luminance0.1855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6498 #649D69
analogous
#85649D #9D6498 #9D647B
triadic
#9D6498 #989D64 #64989D
tetradic
#9D6498 #9D8564 #649D69 #647B9D
square
#9D6498 #9D8564 #649D69 #647B9D
split-complementary
#9D6498 #7B9D64 #649D85
monochromatic
#523450 #784C74 #9D6498 #B589B1 #CCAFCA

Accessibility & contrast

On white

4.46
#9D6498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9D6498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6498
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6498#FFFFFF#000000##000000
##9D64981.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#62739A
Deuteranopia (green-blind)
#707A96
Tritanopia (blue-blind)
#A16877
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d6498;
/* rgb */ color: rgb(157, 100, 152);
/* oklch */ color: oklch(58.3% 0.102 329.9);
Tailwind
colors: {
  custom: {
    50: '#bb91b6',
    500: '#9d6498',
    950: '#000000',
  },
}
SCSS
$custom: #9d6498;
$custom-light: #bb91b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6498",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 152
  },
  "hsl": {
    "h": 305.263,
    "s": 22.53,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.10214,
    "h": 329.9
  },
  "luminance": 0.18549
}

Semantic roles & 50–950 ramp

primary
#9D6498
secondary
#A2BBA4
accent
#BF7069
background
#FBF9FB
surface
#F6F1F6
border
#D0CBD0
text
#120D11
muted
#817E80

Preview Lab

Preview with #9D6498

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

Preview Lab → · Contrast checker → · Palette generator →

#9D6498 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva