#9340AA#9340AA

#9340AA is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.6% C 0.176 H 318.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#9340AA
RGBrgb(147, 64, 170)
HSLhsl(287, 45%, 46%)
HSVhsv(287, 62%, 67%)
CMYKcmyk(13.5%, 62.4%, 0%, 33.3%)
CIE-LABlab(42.42, 51.04, -41.77)
CIE-LCHlch(42.42, 65.95, 320.71°)
OKLaboklab(52.55% 0.1311 -0.1167)
OKLCHoklch(52.55% 0.176 318.3)
XYZxyz(21.1207, 12.7730, 39.3753)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340AA #57AA40
analogous
#5E40AA #9340AA #AA408C
triadic
#9340AA #AA9340 #40AA93
tetradic
#9340AA #AA5E40 #57AA40 #408CAA
square
#9340AA #AA5E40 #57AA40 #408CAA
split-complementary
#9340AA #8CAA40 #40AA5E
monochromatic
#461F51 #6D2F7E #9340AA #AF63C4 #C68FD5

Accessibility & contrast

On white

5.91
#9340AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9340AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9340AA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9340AA#FFFFFF#000000##FFFFFF
##9340AA1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#93526F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9340aa;
/* rgb */ color: rgb(147, 64, 170);
/* oklch */ color: oklch(52.6% 0.176 318.3);
Tailwind
colors: {
  custom: {
    50: '#b67ac4',
    500: '#9340aa',
    950: '#000000',
  },
}
SCSS
$custom: #9340aa;
$custom-light: #b67ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#9340aa",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 286.981,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.17553,
    "h": 318.3
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#9340AA
secondary
#92C086
accent
#D5536F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9340AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9340AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva