#9A3BC8#9A3BC8

#9A3BC8 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.214 H 312.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9A3BC8
RGBrgb(154, 59, 200)
HSLhsl(280, 56%, 51%)
HSVhsv(280, 71%, 78%)
CMYKcmyk(23%, 70.5%, 0%, 21.6%)
CIE-LABlab(44.47, 61.03, -56.01)
CIE-LCHlch(44.47, 82.83, 317.46°)
OKLaboklab(54.83% 0.144 -0.1582)
OKLCHoklch(54.83% 0.214 312.3)
XYZxyz(25.3138, 14.1688, 56.0338)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3BC8 #69C83B
analogous
#543BC8 #9A3BC8 #C83BAF
triadic
#9A3BC8 #C89A3B #3BC89A
tetradic
#9A3BC8 #C8543B #69C83B #3BAFC8
square
#9A3BC8 #C8543B #69C83B #3BAFC8
split-complementary
#9A3BC8 #AFC83B #3BC854
monochromatic
#521E6B #762B9A #9A3BC8 #B36BD5 #CB9BE3

Accessibility & contrast

On white

5.48
#9A3BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9A3BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3BC8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3BC8#FFFFFF#000000##FFFFFF
##9A3BC81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#95597E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3bc8;
/* rgb */ color: rgb(154, 59, 200);
/* oklch */ color: oklch(54.8% 0.214 312.3);
Tailwind
colors: {
  custom: {
    50: '#bc79d9',
    500: '#9a3bc8',
    950: '#000000',
  },
}
SCSS
$custom: #9a3bc8;
$custom-light: #bc79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3bc8",
  "rgb": {
    "r": 154,
    "g": 59,
    "b": 200
  },
  "hsl": {
    "h": 280.426,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54829,
    "c": 0.21388,
    "h": 312.3
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#9A3BC8
secondary
#A5CF90
accent
#DF487A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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