#9342D2#9342D2

#9342D2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.213 H 306.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9342D2
RGBrgb(147, 66, 210)
HSLhsl(274, 62%, 54%)
HSVhsv(274, 69%, 82%)
CMYKcmyk(30%, 68.6%, 0%, 17.6%)
CIE-LABlab(45.29, 58.75, -60.50)
CIE-LCHlch(45.29, 84.33, 314.16°)
OKLaboklab(55.43% 0.1264 -0.1716)
OKLCHoklch(55.43% 0.213 306.4)
XYZxyz(25.6112, 14.7529, 62.4586)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342D2 #81D242
analogous
#4B42D2 #9342D2 #D242C9
triadic
#9342D2 #D29342 #42D293
tetradic
#9342D2 #D24B42 #81D242 #42C9D2
square
#9342D2 #D24B42 #81D242 #42C9D2
split-complementary
#9342D2 #C9D242 #42D24B
monochromatic
#531E7C #7429AD #9342D2 #AF73DE #CBA5EA

Accessibility & contrast

On white

5.32
#9342D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9342D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342D2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342D2#FFFFFF#000000##FFFFFF
##9342D21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#146CCF
Tritanopia (blue-blind)
#886285
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9342d2;
/* rgb */ color: rgb(147, 66, 210);
/* oklch */ color: oklch(55.4% 0.213 306.4);
Tailwind
colors: {
  custom: {
    50: '#b87ce1',
    500: '#9342d2',
    950: '#000000',
  },
}
SCSS
$custom: #9342d2;
$custom-light: #b87ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9342d2",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 273.75,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55431,
    "c": 0.21318,
    "h": 306.4
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#9342D2
secondary
#B4D799
accent
#E5438A
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9342D2

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

Preview Lab → · Contrast checker → · Palette generator →

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