#8A3074#8A3074

#8A3074 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.4% C 0.146 H 338.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8A3074
RGBrgb(138, 48, 116)
HSLhsl(315, 48%, 36%)
HSVhsv(315, 65%, 54%)
CMYKcmyk(0%, 65.2%, 15.9%, 45.9%)
CIE-LABlab(35.56, 46.11, -19.73)
CIE-LCHlch(35.56, 50.15, 336.84°)
OKLaboklab(46.36% 0.1362 -0.0533)
OKLCHoklch(46.36% 0.146 338.6)
XYZxyz(14.6908, 8.7794, 17.4405)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3074 #308A46
analogous
#73308A #8A3074 #8A3047
triadic
#8A3074 #748A30 #30748A
tetradic
#8A3074 #8A7330 #308A46 #30478A
square
#8A3074 #8A7330 #308A46 #30478A
split-complementary
#8A3074 #478A30 #308A73
monochromatic
#2F1028 #5D204E #8A3074 #B7409A #CB69B3

Accessibility & contrast

On white

7.62
#8A3074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8A3074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3074
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3074#FFFFFF#000000##FFFFFF
##8A30741.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B76
Deuteranopia (green-blind)
#4F5972
Tritanopia (blue-blind)
#92334D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8a3074;
/* rgb */ color: rgb(138, 48, 116);
/* oklch */ color: oklch(46.4% 0.146 338.6);
Tailwind
colors: {
  custom: {
    50: '#af6f9c',
    500: '#8a3074',
    950: '#000000',
  },
}
SCSS
$custom: #8a3074;
$custom-light: #af6f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3074",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 314.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.14621,
    "h": 338.6
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#8A3074
secondary
#64B277
accent
#D87150
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3074

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

Preview Lab → · Contrast checker → · Palette generator →

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