#9D6FB3#9D6FB3

#9D6FB3 is a mid, moderate purple. Relative luminance 0.218; OKLCH L 61.4% C 0.112 H 314.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9D6FB3
RGBrgb(157, 111, 179)
HSLhsl(281, 31%, 57%)
HSVhsv(281, 38%, 70%)
CMYKcmyk(12.3%, 38%, 0%, 29.8%)
CIE-LABlab(53.81, 30.71, -29.04)
CIE-LCHlch(53.81, 42.27, 316.60°)
OKLaboklab(61.41% 0.0781 -0.08)
OKLCHoklch(61.41% 0.112 314.3)
XYZxyz(27.7245, 21.7922, 45.3849)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6FB3 #85B36F
analogous
#7B6FB3 #9D6FB3 #B36FA7
triadic
#9D6FB3 #B39D6F #6FB39D
tetradic
#9D6FB3 #B37B6F #85B36F #6FA7B3
square
#9D6FB3 #B37B6F #85B36F #6FA7B3
split-complementary
#9D6FB3 #A7B36F #6FB37B
monochromatic
#5D3A6E #7F4F96 #9D6FB3 #B897C8 #D4BFDD

Accessibility & contrast

On white

3.92
#9D6FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9D6FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6FB3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6FB3#FFFFFF#000000##000000
##9D6FB31.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB6
Deuteranopia (green-blind)
#6F82B1
Tritanopia (blue-blind)
#9C7889
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d6fb3;
/* rgb */ color: rgb(157, 111, 179);
/* oklch */ color: oklch(61.4% 0.112 314.3);
Tailwind
colors: {
  custom: {
    50: '#bb99ca',
    500: '#9d6fb3',
    950: '#000000',
  },
}
SCSS
$custom: #9d6fb3;
$custom-light: #bb99ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6fb3",
  "rgb": {
    "r": 157,
    "g": 111,
    "b": 179
  },
  "hsl": {
    "h": 280.588,
    "s": 30.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61411,
    "c": 0.11179,
    "h": 314.3
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#9D6FB3
secondary
#BACDB1
accent
#C76182
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#120E13
muted
#817E82

Preview Lab

Preview with #9D6FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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