#9A3FBA#9A3FBA

#9A3FBA is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.195 H 316.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9A3FBA
RGBrgb(154, 63, 186)
HSLhsl(284, 49%, 49%)
HSVhsv(284, 66%, 73%)
CMYKcmyk(17.2%, 66.1%, 0%, 27.1%)
CIE-LABlab(44.19, 56.43, -48.31)
CIE-LCHlch(44.19, 74.29, 319.43°)
OKLaboklab(54.34% 0.1407 -0.1356)
OKLCHoklch(54.34% 0.195 316.1)
XYZxyz(23.9655, 13.9711, 47.8791)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FBA #5FBA3F
analogous
#5D3FBA #9A3FBA #BA3F9D
triadic
#9A3FBA #BA9A3F #3FBA9A
tetradic
#9A3FBA #BA5D3F #5FBA3F #3F9DBA
square
#9A3FBA #BA5D3F #5FBA3F #3F9DBA
split-complementary
#9A3FBA #9DBA3F #3FBA5D
monochromatic
#4E205F #74308C #9A3FBA #B36ACC #CA97DC

Accessibility & contrast

On white

5.54
#9A3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9A3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FBA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FBA#FFFFFF#000000##FFFFFF
##9A3FBA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0363BE
Deuteranopia (green-blind)
#3F6BB7
Tritanopia (blue-blind)
#985677
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a3fba;
/* rgb */ color: rgb(154, 63, 186);
/* oklch */ color: oklch(54.3% 0.195 316.1);
Tailwind
colors: {
  custom: {
    50: '#bb7bcf',
    500: '#9a3fba',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fba;
$custom-light: #bb7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fba",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 284.39,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54342,
    "c": 0.19546,
    "h": 316.1
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#9A3FBA
secondary
#9CC88D
accent
#D94F73
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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