#9A4FBE#9A4FBE

#9A4FBE is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.6% C 0.177 H 313.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9A4FBE
RGBrgb(154, 79, 190)
HSLhsl(281, 46%, 53%)
HSVhsv(281, 58%, 75%)
CMYKcmyk(18.9%, 58.4%, 0%, 25.5%)
CIE-LABlab(47.21, 49.66, -45.82)
CIE-LCHlch(47.21, 67.57, 317.31°)
OKLaboklab(56.61% 0.1212 -0.1284)
OKLCHoklch(56.61% 0.177 313.3)
XYZxyz(25.4151, 16.1804, 50.4895)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4FBE #73BE4F
analogous
#634FBE #9A4FBE #BE4FAA
triadic
#9A4FBE #BE9A4F #4FBE9A
tetradic
#9A4FBE #BE634F #73BE4F #4FAABE
square
#9A4FBE #BE634F #73BE4F #4FAABE
split-complementary
#9A4FBE #AABE4F #4FBE63
monochromatic
#55286B #793898 #9A4FBE #B47CCF #CDA8DF

Accessibility & contrast

On white

4.96
#9A4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9A4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4FBE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4FBE#FFFFFF#000000##FFFFFF
##9A4FBE1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#97627F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a4fbe;
/* rgb */ color: rgb(154, 79, 190);
/* oklch */ color: oklch(56.6% 0.177 313.3);
Tailwind
colors: {
  custom: {
    50: '#bb84d2',
    500: '#9a4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #9a4fbe;
$custom-light: #bb84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4fbe",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 280.541,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.17662,
    "h": 313.3
  },
  "luminance": 0.1618
}

Semantic roles & 50–950 ramp

primary
#9A4FBE
secondary
#ACCC9C
accent
#D6527D
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9A4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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