#8A348E#8A348E

#8A348E is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.162 H 325.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A348E
RGBrgb(138, 52, 142)
HSLhsl(297, 46%, 38%)
HSVhsv(297, 63%, 56%)
CMYKcmyk(2.8%, 63.4%, 0%, 44.3%)
CIE-LABlab(37.51, 48.81, -32.79)
CIE-LCHlch(37.51, 58.80, 326.11°)
OKLaboklab(48.21% 0.1342 -0.0908)
OKLCHoklch(48.21% 0.162 325.9)
XYZxyz(16.5914, 9.8133, 26.6062)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A348E #388E34
analogous
#5D348E #8A348E #8E3465
triadic
#8A348E #8E8A34 #348E8A
tetradic
#8A348E #8E5D34 #388E34 #34658E
square
#8A348E #8E5D34 #388E34 #34658E
split-complementary
#8A348E #658E34 #348E5D
monochromatic
#331334 #5E2461 #8A348E #B544BB #C771CB

Accessibility & contrast

On white

7.09
#8A348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A348E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A348E#FFFFFF#000000##FFFFFF
##8A348E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#8D405C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a348e;
/* rgb */ color: rgb(138, 52, 142);
/* oklch */ color: oklch(48.2% 0.162 325.9);
Tailwind
colors: {
  custom: {
    50: '#af72af',
    500: '#8a348e',
    950: '#000000',
  },
}
SCSS
$custom: #8a348e;
$custom-light: #af72af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a348e",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 297.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.16198,
    "h": 325.9
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#8A348E
secondary
#6EB36A
accent
#D65258
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A348E

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

Preview Lab → · Contrast checker → · Palette generator →

#8A348E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva