#9B3FA4#9B3FA4

#9B3FA4 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.175 H 324.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9B3FA4
RGBrgb(155, 63, 164)
HSLhsl(295, 44%, 45%)
HSVhsv(295, 62%, 64%)
CMYKcmyk(5.5%, 61.6%, 0%, 35.7%)
CIE-LABlab(43.07, 52.36, -37.09)
CIE-LCHlch(43.07, 64.17, 324.68°)
OKLaboklab(53.15% 0.1418 -0.1029)
OKLCHoklch(53.15% 0.175 324)
XYZxyz(21.9953, 13.2051, 36.5051)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3FA4 #48A43F
analogous
#683FA4 #9B3FA4 #A43F7B
triadic
#9B3FA4 #A49B3F #3FA49B
tetradic
#9B3FA4 #A4683F #48A43F #3F7BA4
square
#9B3FA4 #A4683F #48A43F #3F7BA4
split-complementary
#9B3FA4 #7BA43F #3FA468
monochromatic
#471D4C #712E78 #9B3FA4 #B95FC1 #CC8BD2

Accessibility & contrast

On white

5.77
#9B3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9B3FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3FA4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3FA4#FFFFFF#000000##FFFFFF
##9B3FA41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5FA7
Deuteranopia (green-blind)
#4F6AA1
Tritanopia (blue-blind)
#9E4E6C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9b3fa4;
/* rgb */ color: rgb(155, 63, 164);
/* oklch */ color: oklch(53.2% 0.175 324.0);
Tailwind
colors: {
  custom: {
    50: '#bb7abf',
    500: '#9b3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #9b3fa4;
$custom-light: #bb7abf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3fa4",
  "rgb": {
    "r": 155,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 294.653,
    "s": 44.493,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.17521,
    "h": 324
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#9B3FA4
secondary
#87BD82
accent
#D4545F
background
#FBF7FB
surface
#F7EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9B3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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