#8A3175#8A3175

#8A3175 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.145 H 338.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8A3175
RGBrgb(138, 49, 117)
HSLhsl(314, 48%, 37%)
HSVhsv(314, 64%, 54%)
CMYKcmyk(0%, 64.5%, 15.2%, 45.9%)
CIE-LABlab(35.76, 45.82, -20.03)
CIE-LCHlch(35.76, 50.01, 336.38°)
OKLaboklab(46.53% 0.135 -0.0542)
OKLCHoklch(46.53% 0.145 338.1)
XYZxyz(14.7907, 8.8855, 17.7623)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3175 #318A46
analogous
#73318A #8A3175 #8A3149
triadic
#8A3175 #758A31 #31758A
tetradic
#8A3175 #8A7331 #318A46 #31498A
square
#8A3175 #8A7331 #318A46 #31498A
split-complementary
#8A3175 #498A31 #318A73
monochromatic
#301128 #5D214F #8A3175 #B7419B #CA6BB4

Accessibility & contrast

On white

7.56
#8A3175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8A3175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3175
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3175#FFFFFF#000000##FFFFFF
##8A31751.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B77
Deuteranopia (green-blind)
#505973
Tritanopia (blue-blind)
#91344E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3175;
/* rgb */ color: rgb(138, 49, 117);
/* oklch */ color: oklch(46.5% 0.145 338.1);
Tailwind
colors: {
  custom: {
    50: '#af6f9d',
    500: '#8a3175',
    950: '#000000',
  },
}
SCSS
$custom: #8a3175;
$custom-light: #af6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3175",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 314.157,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.14548,
    "h": 338.1
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#8A3175
secondary
#65B277
accent
#D77051
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3175

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

Preview Lab → · Contrast checker → · Palette generator →

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