#9342E0#9342E0

#9342E0 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.227 H 303.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9342E0
RGBrgb(147, 66, 224)
HSLhsl(271, 72%, 57%)
HSVhsv(271, 71%, 88%)
CMYKcmyk(34.4%, 70.5%, 0%, 12.2%)
CIE-LABlab(46.29, 61.95, -66.89)
CIE-LCHlch(46.29, 91.17, 312.80°)
OKLaboklab(56.45% 0.1244 -0.1904)
OKLCHoklch(56.45% 0.227 303.1)
XYZxyz(27.4322, 15.4813, 72.0495)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9342E0 #8FE042
analogous
#4442E0 #9342E0 #E042DE
triadic
#9342E0 #E09342 #42E093
tetradic
#9342E0 #E04442 #8FE042 #42DEE0
square
#9342E0 #E04442 #8FE042 #42DEE0
split-complementary
#9342E0 #DEE042 #42E044
monochromatic
#551890 #7420C5 #9342E0 #B177E9 #CFABF1

Accessibility & contrast

On white

5.13
#9342E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9342E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9342E0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9342E0#FFFFFF#000000##FFFFFF
##9342E01.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE5
Deuteranopia (green-blind)
#006DDD
Tritanopia (blue-blind)
#84688D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9342e0;
/* rgb */ color: rgb(147, 66, 224);
/* oklch */ color: oklch(56.5% 0.227 303.1);
Tailwind
colors: {
  custom: {
    50: '#b97deb',
    500: '#9342e0',
    950: '#000000',
  },
}
SCSS
$custom: #9342e0;
$custom-light: #b97deb;
$custom-dark: #000000;
JSON
{
  "hex": "#9342e0",
  "rgb": {
    "r": 147,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 270.759,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56451,
    "c": 0.22745,
    "h": 303.1
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#9342E0
secondary
#BEDF9F
accent
#EF3992
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9342E0

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

Preview Lab → · Contrast checker → · Palette generator →

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