#9340BD#9340BD

#9340BD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.8% C 0.194 H 312.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9340BD
RGBrgb(147, 64, 189)
HSLhsl(280, 49%, 50%)
HSVhsv(280, 66%, 74%)
CMYKcmyk(22.2%, 66.1%, 0%, 25.9%)
CIE-LABlab(43.57, 55.02, -51.11)
CIE-LCHlch(43.57, 75.10, 317.11°)
OKLaboklab(53.75% 0.1306 -0.1441)
OKLCHoklch(53.75% 0.194 312.2)
XYZxyz(23.0497, 13.5446, 49.5344)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340BD #6ABD40
analogous
#5540BD #9340BD #BD40A9
triadic
#9340BD #BD9340 #40BD93
tetradic
#9340BD #BD5540 #6ABD40 #40A9BD
square
#9340BD #BD5540 #6ABD40 #40A9BD
split-complementary
#9340BD #A9BD40 #40BD55
monochromatic
#4C2162 #6F318F #9340BD #AD6DCD #C79ADD

Accessibility & contrast

On white

5.66
#9340BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9340BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9340BD
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9340BD#FFFFFF#000000##FFFFFF
##9340BD1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#3569BA
Tritanopia (blue-blind)
#8E5979
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9340bd;
/* rgb */ color: rgb(147, 64, 189);
/* oklch */ color: oklch(53.8% 0.194 312.2);
Tailwind
colors: {
  custom: {
    50: '#b67bd1',
    500: '#9340bd',
    950: '#000000',
  },
}
SCSS
$custom: #9340bd;
$custom-light: #b67bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9340bd",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 279.84,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.19446,
    "h": 312.2
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#9340BD
secondary
#A3C990
accent
#D94F7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9340BD

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

Preview Lab → · Contrast checker → · Palette generator →

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