#9E348D#9E348D

#9E348D is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.1% C 0.173 H 334.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9E348D
RGBrgb(158, 52, 141)
HSLhsl(310, 50%, 41%)
HSVhsv(310, 67%, 62%)
CMYKcmyk(0%, 67.1%, 10.8%, 38%)
CIE-LABlab(40.65, 53.87, -27.01)
CIE-LCHlch(40.65, 60.26, 333.38°)
OKLaboklab(51.11% 0.1567 -0.0736)
OKLCHoklch(51.11% 0.173 334.8)
XYZxyz(20.1364, 11.6498, 26.3822)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E348D #349E45
analogous
#7A349E #9E348D #9E3458
triadic
#9E348D #8D9E34 #348D9E
tetradic
#9E348D #9E7A34 #349E45 #34589E
square
#9E348D #9E7A34 #349E45 #34589E
split-complementary
#9E348D #589E34 #349E7A
monochromatic
#42163B #702564 #9E348D #C44BB1 #D379C5

Accessibility & contrast

On white

6.31
#9E348D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9E348D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E348D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E348D#FFFFFF#000000##FFFFFF
##9E348D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#57658A
Tritanopia (blue-blind)
#A63C5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e348d;
/* rgb */ color: rgb(158, 52, 141);
/* oklch */ color: oklch(51.1% 0.173 334.8);
Tailwind
colors: {
  custom: {
    50: '#be74ae',
    500: '#9e348d',
    950: '#000000',
  },
}
SCSS
$custom: #9e348d;
$custom-light: #be74ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9e348d",
  "rgb": {
    "r": 158,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 309.623,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.17311,
    "h": 334.8
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#9E348D
secondary
#72BC7E
accent
#DA644E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9E348D

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

Preview Lab → · Contrast checker → · Palette generator →

#9E348D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva