#9B50AF#9B50AF

#9B50AF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.0% C 0.160 H 318.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9B50AF
RGBrgb(155, 80, 175)
HSLhsl(287, 37%, 50%)
HSVhsv(287, 54%, 69%)
CMYKcmyk(11.4%, 54.3%, 0%, 31.4%)
CIE-LABlab(46.71, 46.25, -37.84)
CIE-LCHlch(46.71, 59.76, 320.71°)
OKLaboklab(56.01% 0.1202 -0.1052)
OKLCHoklch(56.01% 0.16 318.8)
XYZxyz(24.1231, 15.8020, 42.3285)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B50AF #64AF50
analogous
#6B50AF #9B50AF #AF5094
triadic
#9B50AF #AF9B50 #50AF9B
tetradic
#9B50AF #AF6B50 #64AF50 #5094AF
square
#9B50AF #AF6B50 #64AF50 #5094AF
split-complementary
#9B50AF #94AF50 #50AF6B
monochromatic
#512A5B #763D85 #9B50AF #B37AC2 #CBA4D5

Accessibility & contrast

On white

5.05
#9B50AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9B50AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B50AF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B50AF#FFFFFF#000000##FFFFFF
##9B50AF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#5571AC
Tritanopia (blue-blind)
#9B5E78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b50af;
/* rgb */ color: rgb(155, 80, 175);
/* oklch */ color: oklch(56.0% 0.160 318.8);
Tailwind
colors: {
  custom: {
    50: '#bb84c7',
    500: '#9b50af',
    950: '#000000',
  },
}
SCSS
$custom: #9b50af;
$custom-light: #bb84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b50af",
  "rgb": {
    "r": 155,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 287.368,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.56005,
    "c": 0.15973,
    "h": 318.8
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#9B50AF
secondary
#A1C398
accent
#CD5B73
background
#FBF8FC
surface
#F7EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9B50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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