#9B4EA2#9B4EA2

#9B4EA2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.0% C 0.150 H 324.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9B4EA2
RGBrgb(155, 78, 162)
HSLhsl(295, 35%, 47%)
HSVhsv(295, 52%, 64%)
CMYKcmyk(4.3%, 51.9%, 0%, 36.5%)
CIE-LABlab(45.67, 44.68, -31.81)
CIE-LCHlch(45.67, 54.85, 324.55°)
OKLaboklab(55.02% 0.1215 -0.0877)
OKLCHoklch(55.02% 0.15 324.2)
XYZxyz(22.7630, 15.0271, 35.8769)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4EA2 #55A24E
analogous
#714EA2 #9B4EA2 #A24E7F
triadic
#9B4EA2 #A29B4E #4EA29B
tetradic
#9B4EA2 #A2714E #55A24E #4E7FA2
square
#9B4EA2 #A2714E #55A24E #4E7FA2
split-complementary
#9B4EA2 #7FA24E #4EA271
monochromatic
#4C264F #733A79 #9B4EA2 #B572BB #CB9BCF

Accessibility & contrast

On white

5.24
#9B4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9B4EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B4EA2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4EA2#FFFFFF#000000##FFFFFF
##9B4EA21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#5B6FA0
Tritanopia (blue-blind)
#9E5871
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9b4ea2;
/* rgb */ color: rgb(155, 78, 162);
/* oklch */ color: oklch(55.0% 0.150 324.2);
Tailwind
colors: {
  custom: {
    50: '#ba83be',
    500: '#9b4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ea2;
$custom-light: #ba83be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ea2",
  "rgb": {
    "r": 155,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 295,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.14985,
    "h": 324.2
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#9B4EA2
secondary
#94BC90
accent
#CB5D66
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#120B12
muted
#817C81

Preview Lab

Preview with #9B4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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