#9342A2#9342A2

#9342A2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.3% C 0.165 H 321.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9342A2
RGBrgb(147, 66, 162)
HSLhsl(291, 42%, 45%)
HSVhsv(291, 59%, 64%)
CMYKcmyk(9.3%, 59.3%, 0%, 36.5%)
CIE-LABlab(42.32, 48.48, -37.16)
CIE-LCHlch(42.32, 61.08, 322.53°)
OKLaboklab(52.34% 0.1282 -0.1033)
OKLCHoklch(52.34% 0.165 321.1)
XYZxyz(20.5017, 12.7091, 35.5486)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342A2 #51A242
analogous
#6342A2 #9342A2 #A24281
triadic
#9342A2 #A29342 #42A293
tetradic
#9342A2 #A26342 #51A242 #4281A2
square
#9342A2 #A26342 #51A242 #4281A2
split-complementary
#9342A2 #81A242 #42A263
monochromatic
#441F4B #6C3077 #9342A2 #B162BF #C68ED1

Accessibility & contrast

On white

5.93
#9342A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9342A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342A2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342A2#FFFFFF#000000##FFFFFF
##9342A21.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#94506C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9342a2;
/* rgb */ color: rgb(147, 66, 162);
/* oklch */ color: oklch(52.3% 0.165 321.1);
Tailwind
colors: {
  custom: {
    50: '#b57bbe',
    500: '#9342a2',
    950: '#000000',
  },
}
SCSS
$custom: #9342a2;
$custom-light: #b57bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9342a2",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 162
  },
  "hsl": {
    "h": 290.625,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.16468,
    "h": 321.1
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#9342A2
secondary
#8DBC84
accent
#D25669
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #9342A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9342A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva