#9340BE#9340BE

#9340BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.8% C 0.195 H 311.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9340BE
RGBrgb(147, 64, 190)
HSLhsl(280, 50%, 50%)
HSVhsv(280, 66%, 75%)
CMYKcmyk(22.6%, 66.3%, 0%, 25.5%)
CIE-LABlab(43.64, 55.24, -51.59)
CIE-LCHlch(43.64, 75.58, 316.96°)
OKLaboklab(53.82% 0.1306 -0.1455)
OKLCHoklch(53.82% 0.195 311.9)
XYZxyz(23.1586, 13.5881, 50.1080)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340BE #6BBE40
analogous
#5440BE #9340BE #BE40AA
triadic
#9340BE #BE9340 #40BE93
tetradic
#9340BE #BE5440 #6BBE40 #40AABE
square
#9340BE #BE5440 #6BBE40 #40AABE
split-complementary
#9340BE #AABE40 #40BE54
monochromatic
#4C2162 #703190 #9340BE #AD6DCE #C79BDD

Accessibility & contrast

On white

5.65
#9340BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9340BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9340BE#FFFFFF#000000##FFFFFF
##9340BE1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#8E597A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9340be;
/* rgb */ color: rgb(147, 64, 190);
/* oklch */ color: oklch(53.8% 0.195 311.9);
Tailwind
colors: {
  custom: {
    50: '#b67bd2',
    500: '#9340be',
    950: '#000000',
  },
}
SCSS
$custom: #9340be;
$custom-light: #b67bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9340be",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 279.524,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.19547,
    "h": 311.9
  },
  "luminance": 0.13588
}

Semantic roles & 50–950 ramp

primary
#9340BE
secondary
#A4C990
accent
#D94F7E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9340BE

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

Preview Lab → · Contrast checker → · Palette generator →

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