#9348BA#9348BA

#9348BA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.180 H 312.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9348BA
RGBrgb(147, 72, 186)
HSLhsl(279, 45%, 51%)
HSVhsv(279, 61%, 73%)
CMYKcmyk(21%, 61.3%, 0%, 27.1%)
CIE-LABlab(44.78, 50.55, -47.42)
CIE-LCHlch(44.78, 69.32, 316.83°)
OKLaboklab(54.57% 0.1212 -0.1333)
OKLCHoklch(54.57% 0.18 312.3)
XYZxyz(23.2113, 14.3835, 47.9984)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9348BA #6FBA48
analogous
#5A48BA #9348BA #BA48A8
triadic
#9348BA #BA9348 #48BA93
tetradic
#9348BA #BA5A48 #6FBA48 #48A8BA
square
#9348BA #BA5A48 #6FBA48 #48A8BA
split-complementary
#9348BA #A8BA48 #48BA5A
monochromatic
#4D2562 #70368F #9348BA #AD74CB #C7A1DC

Accessibility & contrast

On white

5.42
#9348BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9348BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9348BA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9348BA#FFFFFF#000000##FFFFFF
##9348BA1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#406CB7
Tritanopia (blue-blind)
#8F5D7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9348ba;
/* rgb */ color: rgb(147, 72, 186);
/* oklch */ color: oklch(54.6% 0.180 312.3);
Tailwind
colors: {
  custom: {
    50: '#b67fcf',
    500: '#9348ba',
    950: '#000000',
  },
}
SCSS
$custom: #9348ba;
$custom-light: #b67fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9348ba",
  "rgb": {
    "r": 147,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 279.474,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.18016,
    "h": 312.3
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#9348BA
secondary
#A7C896
accent
#D5537F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9348BA

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

Preview Lab → · Contrast checker → · Palette generator →

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