#9A3FBE#9A3FBE

#9A3FBE is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.199 H 314.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9A3FBE
RGBrgb(154, 63, 190)
HSLhsl(283, 50%, 50%)
HSVhsv(283, 67%, 75%)
CMYKcmyk(18.9%, 66.8%, 0%, 25.5%)
CIE-LABlab(44.44, 57.25, -50.25)
CIE-LCHlch(44.44, 76.18, 318.73°)
OKLaboklab(54.6% 0.1406 -0.1413)
OKLCHoklch(54.6% 0.199 314.8)
XYZxyz(24.3967, 14.1436, 50.1501)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FBE #63BE3F
analogous
#5A3FBE #9A3FBE #BE3FA3
triadic
#9A3FBE #BE9A3F #3FBE9A
tetradic
#9A3FBE #BE5A3F #63BE3F #3FA3BE
square
#9A3FBE #BE5A3F #63BE3F #3FA3BE
split-complementary
#9A3FBE #A3BE3F #3FBE5A
monochromatic
#4F2162 #753090 #9A3FBE #B26CCE #CA9ADD

Accessibility & contrast

On white

5.49
#9A3FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9A3FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FBE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FBE#FFFFFF#000000##FFFFFF
##9A3FBE1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#975879
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3fbe;
/* rgb */ color: rgb(154, 63, 190);
/* oklch */ color: oklch(54.6% 0.199 314.8);
Tailwind
colors: {
  custom: {
    50: '#bb7bd2',
    500: '#9a3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fbe;
$custom-light: #bb7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fbe",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 282.992,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.19931,
    "h": 314.8
  },
  "luminance": 0.14143
}

Semantic roles & 50–950 ramp

primary
#9A3FBE
secondary
#A0C98F
accent
#DA4E76
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9A3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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