#9B3FBA#9B3FBA

#9B3FBA is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.196 H 316.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9B3FBA
RGBrgb(155, 63, 186)
HSLhsl(285, 49%, 49%)
HSVhsv(285, 66%, 73%)
CMYKcmyk(16.7%, 66.1%, 0%, 27.1%)
CIE-LABlab(44.33, 56.66, -48.07)
CIE-LCHlch(44.33, 74.31, 319.69°)
OKLaboklab(54.47% 0.142 -0.1349)
OKLCHoklch(54.47% 0.196 316.5)
XYZxyz(24.1567, 14.0697, 47.8881)
Luminance0.1407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FBA #5EBA3F
analogous
#5E3FBA #9B3FBA #BA3F9C
triadic
#9B3FBA #BA9B3F #3FBA9B
tetradic
#9B3FBA #BA5E3F #5EBA3F #3F9CBA
square
#9B3FBA #BA5E3F #5EBA3F #3F9CBA
split-complementary
#9B3FBA #9CBA3F #3FBA5E
monochromatic
#4F205F #75308C #9B3FBA #B46ACC #CB97DC

Accessibility & contrast

On white

5.51
#9B3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9B3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FBA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FBA#FFFFFF#000000##FFFFFF
##9B3FBA1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0563BE
Deuteranopia (green-blind)
#406CB7
Tritanopia (blue-blind)
#995677
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9b3fba;
/* rgb */ color: rgb(155, 63, 186);
/* oklch */ color: oklch(54.5% 0.196 316.5);
Tailwind
colors: {
  custom: {
    50: '#bc7bcf',
    500: '#9b3fba',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fba;
$custom-light: #bc7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fba",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 284.878,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54473,
    "c": 0.19586,
    "h": 316.5
  },
  "luminance": 0.14069
}

Semantic roles & 50–950 ramp

primary
#9B3FBA
secondary
#9CC88D
accent
#D94F72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9B3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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