#8A349B#8A349B

#8A349B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.174 H 320.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A349B
RGBrgb(138, 52, 155)
HSLhsl(290, 50%, 41%)
HSVhsv(290, 66%, 61%)
CMYKcmyk(11%, 66.5%, 0%, 39.2%)
CIE-LABlab(38.25, 51.30, -39.51)
CIE-LCHlch(38.25, 64.76, 322.40°)
OKLaboklab(48.98% 0.1345 -0.1103)
OKLCHoklch(48.98% 0.174 320.6)
XYZxyz(17.6249, 10.2267, 32.0496)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A349B #459B34
analogous
#56349B #8A349B #9B3478
triadic
#8A349B #9B8A34 #349B8A
tetradic
#8A349B #9B5634 #459B34 #34789B
square
#8A349B #9B5634 #459B34 #34789B
split-complementary
#8A349B #789B34 #349B56
monochromatic
#38153F #61256D #8A349B #AE4AC2 #C378D2

Accessibility & contrast

On white

6.90
#8A349B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A349B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A349B
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A349B#FFFFFF#000000##FFFFFF
##8A349B1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549E
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#8B4663
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a349b;
/* rgb */ color: rgb(138, 52, 155);
/* oklch */ color: oklch(49.0% 0.174 320.6);
Tailwind
colors: {
  custom: {
    50: '#af72b9',
    500: '#8a349b',
    950: '#000000',
  },
}
SCSS
$custom: #8a349b;
$custom-light: #af72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a349b",
  "rgb": {
    "r": 138,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 290.097,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.17396,
    "h": 320.6
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#8A349B
secondary
#7DBA71
accent
#D94F65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A349B

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

Preview Lab → · Contrast checker → · Palette generator →

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