#9340BB#9340BB

#9340BB is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.192 H 312.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9340BB
RGBrgb(147, 64, 187)
HSLhsl(280, 49%, 49%)
HSVhsv(280, 66%, 73%)
CMYKcmyk(21.4%, 65.8%, 0%, 26.7%)
CIE-LABlab(43.45, 54.59, -50.14)
CIE-LCHlch(43.45, 74.13, 317.43°)
OKLaboklab(53.62% 0.1307 -0.1412)
OKLCHoklch(53.62% 0.192 312.8)
XYZxyz(22.8341, 13.4583, 48.3989)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340BB #68BB40
analogous
#5640BB #9340BB #BB40A6
triadic
#9340BB #BB9340 #40BB93
tetradic
#9340BB #BB5640 #68BB40 #40A6BB
square
#9340BB #BB5640 #68BB40 #40A6BB
split-complementary
#9340BB #A6BB40 #40BB56
monochromatic
#4B2160 #6F308D #9340BB #AD6CCD #C699DC

Accessibility & contrast

On white

5.69
#9340BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9340BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9340BB#FFFFFF#000000##FFFFFF
##9340BB1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#3768B8
Tritanopia (blue-blind)
#8F5878
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9340bb;
/* rgb */ color: rgb(147, 64, 187);
/* oklch */ color: oklch(53.6% 0.192 312.8);
Tailwind
colors: {
  custom: {
    50: '#b67bd0',
    500: '#9340bb',
    950: '#000000',
  },
}
SCSS
$custom: #9340bb;
$custom-light: #b67bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9340bb",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 280.488,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53623,
    "c": 0.19245,
    "h": 312.8
  },
  "luminance": 0.13458
}

Semantic roles & 50–950 ramp

primary
#9340BB
secondary
#A1C88F
accent
#D94F7C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9340BB

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

Preview Lab → · Contrast checker → · Palette generator →

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