#8A3778#8A3778

#8A3778 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.4% C 0.139 H 336.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8A3778
RGBrgb(138, 55, 120)
HSLhsl(313, 43%, 38%)
HSVhsv(313, 60%, 54%)
CMYKcmyk(0%, 60.1%, 13%, 45.9%)
CIE-LABlab(36.92, 43.53, -20.12)
CIE-LCHlch(36.92, 47.96, 335.19°)
OKLaboklab(47.42% 0.1274 -0.0545)
OKLCHoklch(47.42% 0.139 336.8)
XYZxyz(15.2378, 9.4929, 18.7954)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3778 #378A49
analogous
#72378A #8A3778 #8A374E
triadic
#8A3778 #788A37 #37788A
tetradic
#8A3778 #8A7237 #378A49 #374E8A
square
#8A3778 #8A7237 #378A49 #374E8A
split-complementary
#8A3778 #4E8A37 #378A72
monochromatic
#32142C #5E2652 #8A3778 #B6489E #C874B5

Accessibility & contrast

On white

7.25
#8A3778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A3778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3778
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3778#FFFFFF#000000##FFFFFF
##8A37781.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#525B76
Tritanopia (blue-blind)
#913B52
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3778;
/* rgb */ color: rgb(138, 55, 120);
/* oklch */ color: oklch(47.4% 0.139 336.8);
Tailwind
colors: {
  custom: {
    50: '#af739f',
    500: '#8a3778',
    950: '#000000',
  },
}
SCSS
$custom: #8a3778;
$custom-light: #af739f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3778",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 313.012,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.13851,
    "h": 336.8
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#8A3778
secondary
#6DB07B
accent
#D37055
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8A3778

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

Preview Lab → · Contrast checker → · Palette generator →

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