#9342AF#9342AF

#9342AF is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.1% C 0.178 H 316.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9342AF
RGBrgb(147, 66, 175)
HSLhsl(285, 45%, 47%)
HSVhsv(285, 62%, 69%)
CMYKcmyk(16%, 62.3%, 0%, 31.4%)
CIE-LABlab(43.06, 51.12, -43.71)
CIE-LCHlch(43.06, 67.26, 319.47°)
OKLaboklab(53.11% 0.1287 -0.1224)
OKLCHoklch(53.11% 0.178 316.4)
XYZxyz(21.7175, 13.1954, 41.9521)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342AF #5EAF42
analogous
#5D42AF #9342AF #AF4295
triadic
#9342AF #AF9342 #42AF93
tetradic
#9342AF #AF5D42 #5EAF42 #4295AF
square
#9342AF #AF5D42 #5EAF42 #4295AF
split-complementary
#9342AF #95AF42 #42AF5D
monochromatic
#482056 #6E3183 #9342AF #AE68C6 #C695D7

Accessibility & contrast

On white

5.77
#9342AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9342AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342AF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342AF#FFFFFF#000000##FFFFFF
##9342AF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#925572
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9342af;
/* rgb */ color: rgb(147, 66, 175);
/* oklch */ color: oklch(53.1% 0.178 316.4);
Tailwind
colors: {
  custom: {
    50: '#b67bc7',
    500: '#9342af',
    950: '#000000',
  },
}
SCSS
$custom: #9342af;
$custom-light: #b67bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9342af",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 284.587,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53107,
    "c": 0.17759,
    "h": 316.4
  },
  "luminance": 0.13195
}

Semantic roles & 50–950 ramp

primary
#9342AF
secondary
#99C28A
accent
#D55374
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9342AF

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

Preview Lab → · Contrast checker → · Palette generator →

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