#9340C7#9340C7

#9340C7 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.4% C 0.205 H 309.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9340C7
RGBrgb(147, 64, 199)
HSLhsl(277, 55%, 52%)
HSVhsv(277, 68%, 78%)
CMYKcmyk(26.1%, 67.8%, 0%, 22%)
CIE-LABlab(44.22, 57.20, -55.88)
CIE-LCHlch(44.22, 79.96, 315.67°)
OKLaboklab(54.43% 0.1298 -0.1581)
OKLCHoklch(54.43% 0.205 309.4)
XYZxyz(24.1728, 13.9938, 55.4494)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340C7 #74C740
analogous
#5040C7 #9340C7 #C740B8
triadic
#9340C7 #C79340 #40C793
tetradic
#9340C7 #C75040 #74C740 #40B8C7
square
#9340C7 #C75040 #74C740 #40B8C7
split-complementary
#9340C7 #B8C740 #40C750
monochromatic
#4F206D #722E9C #9340C7 #AE6FD5 #C99FE3

Accessibility & contrast

On white

5.53
#9340C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9340C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9340C7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9340C7#FFFFFF#000000##FFFFFF
##9340C71.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#8C5D7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9340c7;
/* rgb */ color: rgb(147, 64, 199);
/* oklch */ color: oklch(54.4% 0.205 309.4);
Tailwind
colors: {
  custom: {
    50: '#b77bd9',
    500: '#9340c7',
    950: '#000000',
  },
}
SCSS
$custom: #9340c7;
$custom-light: #b77bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9340c7",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 276.889,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54429,
    "c": 0.20453,
    "h": 309.4
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#9340C7
secondary
#ABCF94
accent
#DE4A83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9340C7

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

Preview Lab → · Contrast checker → · Palette generator →

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