#9340BF#9340BF

#9340BF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.9% C 0.196 H 311.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9340BF
RGBrgb(147, 64, 191)
HSLhsl(279, 50%, 50%)
HSVhsv(279, 66%, 75%)
CMYKcmyk(23%, 66.5%, 0%, 25.1%)
CIE-LABlab(43.70, 55.45, -52.07)
CIE-LCHlch(43.70, 76.07, 316.80°)
OKLaboklab(53.89% 0.1305 -0.1469)
OKLCHoklch(53.89% 0.196 311.6)
XYZxyz(23.2683, 13.6320, 50.6856)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340BF #6CBF40
analogous
#5440BF #9340BF #BF40AB
triadic
#9340BF #BF9340 #40BF93
tetradic
#9340BF #BF5440 #6CBF40 #40ABBF
square
#9340BF #BF5440 #6CBF40 #40ABBF
split-complementary
#9340BF #ABBF40 #40BF54
monochromatic
#4C2163 #703191 #9340BF #AD6ECE #C79CDE

Accessibility & contrast

On white

5.64
#9340BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9340BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9340BF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9340BF#FFFFFF#000000##FFFFFF
##9340BF1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#8E5A7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9340bf;
/* rgb */ color: rgb(147, 64, 191);
/* oklch */ color: oklch(53.9% 0.196 311.6);
Tailwind
colors: {
  custom: {
    50: '#b67bd3',
    500: '#9340bf',
    950: '#000000',
  },
}
SCSS
$custom: #9340bf;
$custom-light: #b67bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9340bf",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 279.213,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.19647,
    "h": 311.6
  },
  "luminance": 0.13631
}

Semantic roles & 50–950 ramp

primary
#9340BF
secondary
#A5CA91
accent
#D94E7F
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9340BF

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

Preview Lab → · Contrast checker → · Palette generator →

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