#9340AF#9340AF

#9340AF is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.9% C 0.180 H 316.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9340AF
RGBrgb(147, 64, 175)
HSLhsl(285, 46%, 47%)
HSVhsv(285, 63%, 69%)
CMYKcmyk(16%, 63.4%, 0%, 31.4%)
CIE-LABlab(42.71, 52.07, -44.26)
CIE-LCHlch(42.71, 68.34, 319.63°)
OKLaboklab(52.86% 0.1311 -0.124)
OKLCHoklch(52.86% 0.18 316.6)
XYZxyz(21.6027, 12.9658, 41.9138)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340AF #5CAF40
analogous
#5C40AF #9340AF #AF4094
triadic
#9340AF #AF9340 #40AF93
tetradic
#9340AF #AF5C40 #5CAF40 #4094AF
square
#9340AF #AF5C40 #5CAF40 #4094AF
split-complementary
#9340AF #94AF40 #40AF5C
monochromatic
#481F55 #6D3082 #9340AF #AE65C7 #C692D7

Accessibility & contrast

On white

5.84
#9340AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9340AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9340AF#FFFFFF#000000##FFFFFF
##9340AF1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#925472
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9340af;
/* rgb */ color: rgb(147, 64, 175);
/* oklch */ color: oklch(52.9% 0.180 316.6);
Tailwind
colors: {
  custom: {
    50: '#b67ac7',
    500: '#9340af',
    950: '#000000',
  },
}
SCSS
$custom: #9340af;
$custom-light: #b67ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9340af",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 284.865,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.18047,
    "h": 316.6
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#9340AF
secondary
#97C388
accent
#D65273
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9340AF

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

Preview Lab → · Contrast checker → · Palette generator →

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