#9B3FAF#9B3FAF

#9B3FAF is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.185 H 320.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9B3FAF
RGBrgb(155, 63, 175)
HSLhsl(289, 47%, 47%)
HSVhsv(289, 64%, 69%)
CMYKcmyk(11.4%, 64%, 0%, 31.4%)
CIE-LABlab(43.68, 54.47, -42.65)
CIE-LCHlch(43.68, 69.18, 321.94°)
OKLaboklab(53.8% 0.1422 -0.119)
OKLCHoklch(53.8% 0.185 320.1)
XYZxyz(23.0320, 13.6198, 41.9648)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FAF #53AF3F
analogous
#633FAF #9B3FAF #AF3F8B
triadic
#9B3FAF #AF9B3F #3FAF9B
tetradic
#9B3FAF #AF633F #53AF3F #3F8BAF
square
#9B3FAF #AF633F #53AF3F #3F8BAF
split-complementary
#9B3FAF #8BAF3F #3FAF63
monochromatic
#4B1F55 #732F82 #9B3FAF #B564C7 #CB91D7

Accessibility & contrast

On white

5.64
#9B3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9B3FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FAF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FAF#FFFFFF#000000##FFFFFF
##9B3FAF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#9C5271
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b3faf;
/* rgb */ color: rgb(155, 63, 175);
/* oklch */ color: oklch(53.8% 0.185 320.1);
Tailwind
colors: {
  custom: {
    50: '#bc7ac7',
    500: '#9b3faf',
    950: '#000000',
  },
}
SCSS
$custom: #9b3faf;
$custom-light: #bc7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3faf",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 289.286,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53795,
    "c": 0.18542,
    "h": 320.1
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#9B3FAF
secondary
#92C387
accent
#D75169
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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