#9A3FBB#9A3FBB

#9A3FBB is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.196 H 315.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9A3FBB
RGBrgb(154, 63, 187)
HSLhsl(284, 50%, 49%)
HSVhsv(284, 66%, 73%)
CMYKcmyk(17.6%, 66.3%, 0%, 26.7%)
CIE-LABlab(44.25, 56.64, -48.80)
CIE-LCHlch(44.25, 74.76, 319.25°)
OKLaboklab(54.41% 0.1407 -0.137)
OKLCHoklch(54.41% 0.196 315.8)
XYZxyz(24.0722, 14.0138, 48.4410)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FBB #60BB3F
analogous
#5C3FBB #9A3FBB #BB3F9E
triadic
#9A3FBB #BB9A3F #3FBB9A
tetradic
#9A3FBB #BB5C3F #60BB3F #3F9EBB
square
#9A3FBB #BB5C3F #60BB3F #3F9EBB
split-complementary
#9A3FBB #9EBB3F #3FBB5C
monochromatic
#4F205F #74308D #9A3FBB #B36ACD #CA98DC

Accessibility & contrast

On white

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

On black

3.80
#9A3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9A3FBB#FFFFFF#000000##FFFFFF
##9A3FBB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#985778
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3fbb;
/* rgb */ color: rgb(154, 63, 187);
/* oklch */ color: oklch(54.4% 0.196 315.8);
Tailwind
colors: {
  custom: {
    50: '#bb7bd0',
    500: '#9a3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fbb;
$custom-light: #bb7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fbb",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 284.032,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54405,
    "c": 0.19642,
    "h": 315.8
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#9A3FBB
secondary
#9DC88E
accent
#D94F74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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