#9A3BC7#9A3BC7

#9A3BC7 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.213 H 312.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9A3BC7
RGBrgb(154, 59, 199)
HSLhsl(281, 56%, 51%)
HSVhsv(281, 70%, 78%)
CMYKcmyk(22.6%, 70.4%, 0%, 22%)
CIE-LABlab(44.41, 60.82, -55.53)
CIE-LCHlch(44.41, 82.36, 317.60°)
OKLaboklab(54.76% 0.1441 -0.1568)
OKLCHoklch(54.76% 0.213 312.6)
XYZxyz(25.1973, 14.1222, 55.4203)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BC7 #68C73B
analogous
#543BC7 #9A3BC7 #C73BAE
triadic
#9A3BC7 #C79A3B #3BC79A
tetradic
#9A3BC7 #C7543B #68C73B #3BAEC7
square
#9A3BC7 #C7543B #68C73B #3BAEC7
split-complementary
#9A3BC7 #AEC73B #3BC754
monochromatic
#511E69 #762C99 #9A3BC7 #B36BD5 #CB9AE2

Accessibility & contrast

On white

5.49
#9A3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9A3BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BC7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BC7#FFFFFF#000000##FFFFFF
##9A3BC71.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#95597D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3bc7;
/* rgb */ color: rgb(154, 59, 199);
/* oklch */ color: oklch(54.8% 0.213 312.6);
Tailwind
colors: {
  custom: {
    50: '#bc79d9',
    500: '#9a3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bc7;
$custom-light: #bc79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bc7",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 280.714,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.21293,
    "h": 312.6
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#9A3BC7
secondary
#A4CE90
accent
#DF4979
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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