#9B3FBD#9B3FBD

#9B3FBD is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.199 H 315.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9B3FBD
RGBrgb(155, 63, 189)
HSLhsl(284, 50%, 49%)
HSVhsv(284, 67%, 74%)
CMYKcmyk(18%, 66.7%, 0%, 25.9%)
CIE-LABlab(44.52, 57.27, -49.53)
CIE-LCHlch(44.52, 75.72, 319.14°)
OKLaboklab(54.66% 0.1419 -0.1392)
OKLCHoklch(54.66% 0.199 315.5)
XYZxyz(24.4789, 14.1986, 49.5854)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FBD #61BD3F
analogous
#5C3FBD #9B3FBD #BD3FA0
triadic
#9B3FBD #BD9B3F #3FBD9B
tetradic
#9B3FBD #BD5C3F #61BD3F #3FA0BD
square
#9B3FBD #BD5C3F #61BD3F #3FA0BD
split-complementary
#9B3FBD #A0BD3F #3FBD5C
monochromatic
#502061 #75308F #9B3FBD #B36BCE #CB99DD

Accessibility & contrast

On white

5.47
#9B3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9B3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FBD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FBD#FFFFFF#000000##FFFFFF
##9B3FBD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#995779
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b3fbd;
/* rgb */ color: rgb(155, 63, 189);
/* oklch */ color: oklch(54.7% 0.199 315.5);
Tailwind
colors: {
  custom: {
    50: '#bc7bd1',
    500: '#9b3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fbd;
$custom-light: #bc7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fbd",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 283.81,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.19873,
    "h": 315.5
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#9B3FBD
secondary
#9FC98F
accent
#DA4E74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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