#9348D9#9348D9

#9348D9 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.213 H 304.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9348D9
RGBrgb(147, 72, 217)
HSLhsl(271, 66%, 57%)
HSVhsv(271, 67%, 85%)
CMYKcmyk(32.3%, 66.8%, 0%, 14.9%)
CIE-LABlab(46.77, 57.58, -62.11)
CIE-LCHlch(46.77, 84.70, 312.83°)
OKLaboklab(56.64% 0.1193 -0.1764)
OKLCHoklch(56.64% 0.213 304.1)
XYZxyz(26.8715, 15.8476, 67.2754)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9348D9 #8ED948
analogous
#4B48D9 #9348D9 #D948D7
triadic
#9348D9 #D99348 #48D993
tetradic
#9348D9 #D94B48 #8ED948 #48D7D9
square
#9348D9 #D94B48 #8ED948 #48D7D9
split-complementary
#9348D9 #D7D948 #48D94B
monochromatic
#551D8A #7427BD #9348D9 #B17BE4 #CFADEE

Accessibility & contrast

On white

5.04
#9348D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9348D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9348D9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9348D9#FFFFFF#000000##FFFFFF
##9348D91.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0F6FD6
Tritanopia (blue-blind)
#86698B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9348d9;
/* rgb */ color: rgb(147, 72, 217);
/* oklch */ color: oklch(56.6% 0.213 304.1);
Tailwind
colors: {
  custom: {
    50: '#b880e6',
    500: '#9348d9',
    950: '#000000',
  },
}
SCSS
$custom: #9348d9;
$custom-light: #b880e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9348d9",
  "rgb": {
    "r": 147,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 271.034,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.21295,
    "h": 304.1
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#9348D9
secondary
#BDDCA1
accent
#E93F91
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9348D9

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

Preview Lab → · Contrast checker → · Palette generator →

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