#9B45AF#9B45AF

#9B45AF is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.5% C 0.177 H 319.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9B45AF
RGBrgb(155, 69, 175)
HSLhsl(289, 43%, 48%)
HSVhsv(289, 61%, 69%)
CMYKcmyk(11.4%, 60.6%, 0%, 31.4%)
CIE-LABlab(44.69, 51.70, -41.05)
CIE-LCHlch(44.69, 66.01, 321.55°)
OKLaboklab(54.53% 0.1348 -0.1144)
OKLCHoklch(54.53% 0.177 319.7)
XYZxyz(23.3826, 14.3210, 42.0817)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B45AF #59AF45
analogous
#6645AF #9B45AF #AF458E
triadic
#9B45AF #AF9B45 #45AF9B
tetradic
#9B45AF #AF6645 #59AF45 #458EAF
square
#9B45AF #AF6645 #59AF45 #458EAF
split-complementary
#9B45AF #8EAF45 #45AF66
monochromatic
#4D2257 #743483 #9B45AF #B46CC5 #CB98D6

Accessibility & contrast

On white

5.43
#9B45AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9B45AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B45AF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B45AF#FFFFFF#000000##FFFFFF
##9B45AF1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#4D6DAC
Tritanopia (blue-blind)
#9C5673
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9b45af;
/* rgb */ color: rgb(155, 69, 175);
/* oklch */ color: oklch(54.5% 0.177 319.7);
Tailwind
colors: {
  custom: {
    50: '#bb7ec7',
    500: '#9b45af',
    950: '#000000',
  },
}
SCSS
$custom: #9b45af;
$custom-light: #bb7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b45af",
  "rgb": {
    "r": 155,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 288.679,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.17679,
    "h": 319.7
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#9B45AF
secondary
#97C28D
accent
#D3556C
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9B45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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