#9A3FAC#9A3FAC

#9A3FAC is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.5% C 0.182 H 320.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9A3FAC
RGBrgb(154, 63, 172)
HSLhsl(290, 46%, 46%)
HSVhsv(290, 63%, 67%)
CMYKcmyk(10.5%, 63.4%, 0%, 32.5%)
CIE-LABlab(43.37, 53.64, -41.38)
CIE-LCHlch(43.37, 67.75, 322.35°)
OKLaboklab(53.48% 0.1409 -0.1154)
OKLCHoklch(53.48% 0.182 320.7)
XYZxyz(22.5495, 13.4047, 40.4213)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FAC #51AC3F
analogous
#633FAC #9A3FAC #AC3F87
triadic
#9A3FAC #AC9A3F #3FAC9A
tetradic
#9A3FAC #AC633F #51AC3F #3F87AC
square
#9A3FAC #AC633F #51AC3F #3F87AC
split-complementary
#9A3FAC #87AC3F #3FAC63
monochromatic
#4A1E52 #722F7F #9A3FAC #B563C6 #CA8FD6

Accessibility & contrast

On white

5.71
#9A3FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9A3FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FAC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FAC#FFFFFF#000000##FFFFFF
##9A3FAC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#496AA9
Tritanopia (blue-blind)
#9B5170
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a3fac;
/* rgb */ color: rgb(154, 63, 172);
/* oklch */ color: oklch(53.5% 0.182 320.7);
Tailwind
colors: {
  custom: {
    50: '#bb7ac5',
    500: '#9a3fac',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fac;
$custom-light: #bb7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fac",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 290.092,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53481,
    "c": 0.18214,
    "h": 320.7
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#9A3FAC
secondary
#8FC186
accent
#D65268
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9A3FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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