#9348EB#9348EB

#9348EB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.0% C 0.232 H 300.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9348EB
RGBrgb(147, 72, 235)
HSLhsl(268, 80%, 60%)
HSVhsv(268, 69%, 92%)
CMYKcmyk(37.4%, 69.4%, 0%, 7.8%)
CIE-LABlab(48.05, 61.84, -70.25)
CIE-LCHlch(48.05, 93.59, 311.36°)
OKLaboklab(57.96% 0.1168 -0.2003)
OKLCHoklch(57.96% 0.232 300.2)
XYZxyz(29.3417, 16.8357, 80.2849)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9348EB #A0EB48
analogous
#484FEB #9348EB #E448EB
triadic
#9348EB #EB9348 #48EB93
tetradic
#9348EB #EB484F #A0EB48 #48EBE4
square
#9348EB #EB484F #A0EB48 #48EBE4
split-complementary
#9348EB #EBE448 #4FEB48
monochromatic
#5612A6 #7318DE #9348EB #B47FF1 #D4B6F7

Accessibility & contrast

On white

4.81
#9348EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9348EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9348EB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9348EB#FFFFFF#000000##FFFFFF
##9348EB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0071E8
Tritanopia (blue-blind)
#7F6F95
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9348eb;
/* rgb */ color: rgb(147, 72, 235);
/* oklch */ color: oklch(58.0% 0.232 300.2);
Tailwind
colors: {
  custom: {
    50: '#b981f2',
    500: '#9348eb',
    950: '#000000',
  },
}
SCSS
$custom: #9348eb;
$custom-light: #b981f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9348eb",
  "rgb": {
    "r": 147,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 267.607,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57958,
    "c": 0.23188,
    "h": 300.2
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#9348EB
secondary
#CAE7A8
accent
#DD097B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9348EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9348EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva