#9A3CC8#9A3CC8

#9A3CC8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.213 H 312.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9A3CC8
RGBrgb(154, 60, 200)
HSLhsl(280, 56%, 51%)
HSVhsv(280, 70%, 78%)
CMYKcmyk(23%, 70%, 0%, 21.6%)
CIE-LABlab(44.62, 60.61, -55.77)
CIE-LCHlch(44.62, 82.37, 317.38°)
OKLaboklab(54.93% 0.1429 -0.1575)
OKLCHoklch(54.93% 0.213 312.2)
XYZxyz(25.3657, 14.2726, 56.0511)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3CC8 #6AC83C
analogous
#543CC8 #9A3CC8 #C83CB0
triadic
#9A3CC8 #C89A3C #3CC89A
tetradic
#9A3CC8 #C8543C #6AC83C #3CB0C8
square
#9A3CC8 #C8543C #6AC83C #3CB0C8
split-complementary
#9A3CC8 #B0C83C #3CC854
monochromatic
#521E6B #762C9B #9A3CC8 #B36CD5 #CB9BE3

Accessibility & contrast

On white

5.45
#9A3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9A3CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3CC8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3CC8#FFFFFF#000000##FFFFFF
##9A3CC81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#2D6BC5
Tritanopia (blue-blind)
#955A7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9a3cc8;
/* rgb */ color: rgb(154, 60, 200);
/* oklch */ color: oklch(54.9% 0.213 312.2);
Tailwind
colors: {
  custom: {
    50: '#bc7ad9',
    500: '#9a3cc8',
    950: '#000000',
  },
}
SCSS
$custom: #9a3cc8;
$custom-light: #bc7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3cc8",
  "rgb": {
    "r": 154,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 280.286,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.21269,
    "h": 312.2
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#9A3CC8
secondary
#A5CF91
accent
#DF497A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A3CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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