#8A348D#8A348D

#8A348D is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.1% C 0.161 H 326.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8A348D
RGBrgb(138, 52, 141)
HSLhsl(298, 46%, 38%)
HSVhsv(298, 63%, 55%)
CMYKcmyk(2.1%, 63.1%, 0%, 44.7%)
CIE-LABlab(37.45, 48.63, -32.26)
CIE-LCHlch(37.45, 58.35, 326.44°)
OKLaboklab(48.15% 0.1341 -0.0892)
OKLCHoklch(48.15% 0.161 326.4)
XYZxyz(16.5166, 9.7834, 26.2126)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A348D #378D34
analogous
#5E348D #8A348D #8D3463
triadic
#8A348D #8D8A34 #348D8A
tetradic
#8A348D #8D5E34 #378D34 #34638D
square
#8A348D #8D5E34 #378D34 #34638D
split-complementary
#8A348D #638D34 #348D5E
monochromatic
#321334 #5E2460 #8A348D #B644BA #C871CB

Accessibility & contrast

On white

7.10
#8A348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A348D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A348D#FFFFFF#000000##FFFFFF
##8A348D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#475C8B
Tritanopia (blue-blind)
#8E405C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a348d;
/* rgb */ color: rgb(138, 52, 141);
/* oklch */ color: oklch(48.1% 0.161 326.4);
Tailwind
colors: {
  custom: {
    50: '#af72af',
    500: '#8a348d',
    950: '#000000',
  },
}
SCSS
$custom: #8a348d;
$custom-light: #af72af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a348d",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 297.978,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48148,
    "c": 0.16108,
    "h": 326.4
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#8A348D
secondary
#6DB36A
accent
#D65256
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A348D

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

Preview Lab → · Contrast checker → · Palette generator →

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