#9342D3#9342D3

#9342D3 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.214 H 306.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9342D3
RGBrgb(147, 66, 211)
HSLhsl(274, 62%, 54%)
HSVhsv(274, 69%, 83%)
CMYKcmyk(30.3%, 68.7%, 0%, 17.3%)
CIE-LABlab(45.36, 58.98, -60.96)
CIE-LCHlch(45.36, 84.82, 314.05°)
OKLaboklab(55.5% 0.1263 -0.173)
OKLCHoklch(55.5% 0.214 306.1)
XYZxyz(25.7362, 14.8029, 63.1168)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342D3 #82D342
analogous
#4B42D3 #9342D3 #D342CB
triadic
#9342D3 #D39342 #42D393
tetradic
#9342D3 #D34B42 #82D342 #42CBD3
square
#9342D3 #D34B42 #82D342 #42CBD3
split-complementary
#9342D3 #CBD342 #42D34B
monochromatic
#531D7D #7429AF #9342D3 #AF74DF #CCA5EA

Accessibility & contrast

On white

5.30
#9342D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9342D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342D3
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342D3#FFFFFF#000000##FFFFFF
##9342D31.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#116CD0
Tritanopia (blue-blind)
#886386
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9342d3;
/* rgb */ color: rgb(147, 66, 211);
/* oklch */ color: oklch(55.5% 0.214 306.1);
Tailwind
colors: {
  custom: {
    50: '#b87ce1',
    500: '#9342d3',
    950: '#000000',
  },
}
SCSS
$custom: #9342d3;
$custom-light: #b87ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9342d3",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 273.517,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.2142,
    "h": 306.1
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#9342D3
secondary
#B5D79A
accent
#E5428A
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9342D3

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

Preview Lab → · Contrast checker → · Palette generator →

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