#9A3FBD#9A3FBD

#9A3FBD is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.5% C 0.198 H 315.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9A3FBD
RGBrgb(154, 63, 189)
HSLhsl(283, 50%, 49%)
HSVhsv(283, 67%, 74%)
CMYKcmyk(18.5%, 66.7%, 0%, 25.9%)
CIE-LABlab(44.38, 57.05, -49.77)
CIE-LCHlch(44.38, 75.70, 318.90°)
OKLaboklab(54.53% 0.1406 -0.1399)
OKLCHoklch(54.53% 0.198 315.1)
XYZxyz(24.2878, 14.1000, 49.5764)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3FBD #62BD3F
analogous
#5B3FBD #9A3FBD #BD3FA1
triadic
#9A3FBD #BD9A3F #3FBD9A
tetradic
#9A3FBD #BD5B3F #62BD3F #3FA1BD
square
#9A3FBD #BD5B3F #62BD3F #3FA1BD
split-complementary
#9A3FBD #A1BD3F #3FBD5B
monochromatic
#4F2061 #75308F #9A3FBD #B26BCE #CA99DD

Accessibility & contrast

On white

5.50
#9A3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9A3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A3FBD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3FBD#FFFFFF#000000##FFFFFF
##9A3FBD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#975779
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a3fbd;
/* rgb */ color: rgb(154, 63, 189);
/* oklch */ color: oklch(54.5% 0.198 315.1);
Tailwind
colors: {
  custom: {
    50: '#bb7bd1',
    500: '#9a3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #9a3fbd;
$custom-light: #bb7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3fbd",
  "rgb": {
    "r": 154,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 283.333,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.19835,
    "h": 315.1
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#9A3FBD
secondary
#9FC98F
accent
#DA4E75
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9A3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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