#9B4FA2#9B4FA2

#9B4FA2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.2% C 0.148 H 324.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9B4FA2
RGBrgb(155, 79, 162)
HSLhsl(295, 34%, 47%)
HSVhsv(295, 51%, 64%)
CMYKcmyk(4.3%, 51.2%, 0%, 36.5%)
CIE-LABlab(45.87, 44.16, -31.50)
CIE-LCHlch(45.87, 54.25, 324.50°)
OKLaboklab(55.17% 0.1201 -0.0868)
OKLCHoklch(55.17% 0.148 324.1)
XYZxyz(22.8345, 15.1703, 35.9008)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4FA2 #56A24F
analogous
#724FA2 #9B4FA2 #A24F7F
triadic
#9B4FA2 #A29B4F #4FA29B
tetradic
#9B4FA2 #A2724F #56A24F #4F7FA2
square
#9B4FA2 #A2724F #56A24F #4F7FA2
split-complementary
#9B4FA2 #7FA24F #4FA272
monochromatic
#4C2750 #743B79 #9B4FA2 #B573BB #CB9CCF

Accessibility & contrast

On white

5.21
#9B4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9B4FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4FA2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4FA2#FFFFFF#000000##FFFFFF
##9B4FA21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4467A5
Deuteranopia (green-blind)
#5B70A0
Tritanopia (blue-blind)
#9E5971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9b4fa2;
/* rgb */ color: rgb(155, 79, 162);
/* oklch */ color: oklch(55.2% 0.148 324.1);
Tailwind
colors: {
  custom: {
    50: '#ba83be',
    500: '#9b4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4fa2;
$custom-light: #ba83be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4fa2",
  "rgb": {
    "r": 155,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 294.94,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.14818,
    "h": 324.1
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#9B4FA2
secondary
#95BC91
accent
#CB5D66
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #9B4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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