#9340D3#9340D3

#9340D3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.217 H 306.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9340D3
RGBrgb(147, 64, 211)
HSLhsl(274, 63%, 54%)
HSVhsv(274, 70%, 83%)
CMYKcmyk(30.3%, 69.7%, 0%, 17.3%)
CIE-LABlab(45.04, 59.87, -61.48)
CIE-LCHlch(45.04, 85.81, 314.24°)
OKLaboklab(55.28% 0.1284 -0.1745)
OKLCHoklch(55.28% 0.217 306.3)
XYZxyz(25.6213, 14.5732, 63.0785)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9340D3 #80D340
analogous
#4A40D3 #9340D3 #D340C9
triadic
#9340D3 #D39340 #40D393
tetradic
#9340D3 #D34A40 #80D340 #40C9D3
square
#9340D3 #D34A40 #80D340 #40C9D3
split-complementary
#9340D3 #C9D340 #40D34A
monochromatic
#521D7C #7428AE #9340D3 #AF72DE #CBA3EA

Accessibility & contrast

On white

5.36
#9340D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9340D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9340D3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9340D3#FFFFFF#000000##FFFFFF
##9340D31.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#096BD0
Tritanopia (blue-blind)
#886285
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9340d3;
/* rgb */ color: rgb(147, 64, 211);
/* oklch */ color: oklch(55.3% 0.217 306.3);
Tailwind
colors: {
  custom: {
    50: '#b87be1',
    500: '#9340d3',
    950: '#000000',
  },
}
SCSS
$custom: #9340d3;
$custom-light: #b87be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9340d3",
  "rgb": {
    "r": 147,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 273.878,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55275,
    "c": 0.21663,
    "h": 306.3
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#9340D3
secondary
#B3D798
accent
#E64289
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9340D3

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

Preview Lab → · Contrast checker → · Palette generator →

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