#9A3BC5#9A3BC5

#9A3BC5 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.211 H 313.1°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9A3BC5
RGBrgb(154, 59, 197)
HSLhsl(281, 54%, 50%)
HSVhsv(281, 70%, 77%)
CMYKcmyk(21.8%, 70.1%, 0%, 22.7%)
CIE-LABlab(44.28, 60.41, -54.59)
CIE-LCHlch(44.28, 81.42, 317.90°)
OKLaboklab(54.63% 0.1443 -0.154)
OKLCHoklch(54.63% 0.211 313.1)
XYZxyz(24.9667, 14.0299, 54.2054)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BC5 #66C53B
analogous
#553BC5 #9A3BC5 #C53BAB
triadic
#9A3BC5 #C59A3B #3BC59A
tetradic
#9A3BC5 #C5553B #66C53B #3BABC5
square
#9A3BC5 #C5553B #66C53B #3BABC5
split-complementary
#9A3BC5 #ABC53B #3BC555
monochromatic
#501F67 #752C96 #9A3BC5 #B26AD3 #CB99E1

Accessibility & contrast

On white

5.52
#9A3BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9A3BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BC5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BC5#FFFFFF#000000##FFFFFF
##9A3BC51.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#306BC2
Tritanopia (blue-blind)
#95587C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3bc5;
/* rgb */ color: rgb(154, 59, 197);
/* oklch */ color: oklch(54.6% 0.211 313.1);
Tailwind
colors: {
  custom: {
    50: '#bc79d7',
    500: '#9a3bc5',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bc5;
$custom-light: #bc79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bc5",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 197
  },
  "hsl": {
    "h": 281.304,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54625,
    "c": 0.21104,
    "h": 313.1
  },
  "luminance": 0.14029
}

Semantic roles & 50–950 ramp

primary
#9A3BC5
secondary
#A2CD8F
accent
#DE4A78
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9A3BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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