#9B3FB2#9B3FB2

#9B3FB2 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.188 H 319.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9B3FB2
RGBrgb(155, 63, 178)
HSLhsl(288, 48%, 47%)
HSVhsv(288, 65%, 70%)
CMYKcmyk(12.9%, 64.6%, 0%, 30.2%)
CIE-LABlab(43.86, 55.06, -44.14)
CIE-LCHlch(43.86, 70.57, 321.28°)
OKLaboklab(53.98% 0.1422 -0.1234)
OKLCHoklch(53.98% 0.188 319)
XYZxyz(23.3299, 13.7390, 43.5338)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FB2 #56B23F
analogous
#623FB2 #9B3FB2 #B23F90
triadic
#9B3FB2 #B29B3F #3FB29B
tetradic
#9B3FB2 #B2623F #56B23F #3F90B2
square
#9B3FB2 #B2623F #56B23F #3F90B2
split-complementary
#9B3FB2 #90B23F #3FB262
monochromatic
#4C1F58 #742F85 #9B3FB2 #B566C9 #CB93D9

Accessibility & contrast

On white

5.60
#9B3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9B3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FB2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FB2#FFFFFF#000000##FFFFFF
##9B3FB21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#9B5373
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9b3fb2;
/* rgb */ color: rgb(155, 63, 178);
/* oklch */ color: oklch(54.0% 0.188 319.0);
Tailwind
colors: {
  custom: {
    50: '#bc7ac9',
    500: '#9b3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fb2;
$custom-light: #bc7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fb2",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 288,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53976,
    "c": 0.18826,
    "h": 319
  },
  "luminance": 0.13738
}

Semantic roles & 50–950 ramp

primary
#9B3FB2
secondary
#95C489
accent
#D7506B
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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