#9340C8#9340C8

#9340C8 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.206 H 309.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9340C8
RGBrgb(147, 64, 200)
HSLhsl(277, 55%, 52%)
HSVhsv(277, 68%, 78%)
CMYKcmyk(26.5%, 68%, 0%, 21.6%)
CIE-LABlab(44.29, 57.42, -56.35)
CIE-LCHlch(44.29, 80.45, 315.54°)
OKLaboklab(54.5% 0.1297 -0.1594)
OKLCHoklch(54.5% 0.206 309.1)
XYZxyz(24.2893, 14.0404, 56.0629)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340C8 #75C840
analogous
#4F40C8 #9340C8 #C840B9
triadic
#9340C8 #C89340 #40C893
tetradic
#9340C8 #C84F40 #75C840 #40B9C8
square
#9340C8 #C84F40 #75C840 #40B9C8
split-complementary
#9340C8 #B9C840 #40C84F
monochromatic
#4F206E #722D9D #9340C8 #AE70D6 #C99FE3

Accessibility & contrast

On white

5.51
#9340C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9340C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9340C8
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9340C8#FFFFFF#000000##FFFFFF
##9340C81.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#8B5D7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9340c8;
/* rgb */ color: rgb(147, 64, 200);
/* oklch */ color: oklch(54.5% 0.206 309.1);
Tailwind
colors: {
  custom: {
    50: '#b77bd9',
    500: '#9340c8',
    950: '#000000',
  },
}
SCSS
$custom: #9340c8;
$custom-light: #b77bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9340c8",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 276.618,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.20553,
    "h": 309.1
  },
  "luminance": 0.1404
}

Semantic roles & 50–950 ramp

primary
#9340C8
secondary
#ABD094
accent
#DF4983
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9340C8

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

Preview Lab → · Contrast checker → · Palette generator →

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