#8A357B#8A357B

#8A357B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.3% C 0.144 H 335.1°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8A357B
RGBrgb(138, 53, 123)
HSLhsl(311, 45%, 37%)
HSVhsv(311, 62%, 54%)
CMYKcmyk(0%, 61.6%, 10.9%, 45.9%)
CIE-LABlab(36.71, 44.98, -22.32)
CIE-LCHlch(36.71, 50.21, 333.61°)
OKLaboklab(47.31% 0.1307 -0.0607)
OKLCHoklch(47.31% 0.144 335.1)
XYZxyz(15.3296, 9.3807, 19.7383)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A357B #358A44
analogous
#6E358A #8A357B #8A3551
triadic
#8A357B #7B8A35 #357B8A
tetradic
#8A357B #8A6E35 #358A44 #35518A
square
#8A357B #8A6E35 #358A44 #35518A
split-complementary
#8A357B #518A35 #358A6E
monochromatic
#32132C #5E2454 #8A357B #B646A2 #C871B9

Accessibility & contrast

On white

7.30
#8A357B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8A357B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A357B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A357B#FFFFFF#000000##FFFFFF
##8A357B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7D
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#903A53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a357b;
/* rgb */ color: rgb(138, 53, 123);
/* oklch */ color: oklch(47.3% 0.144 335.1);
Tailwind
colors: {
  custom: {
    50: '#af72a1',
    500: '#8a357b',
    950: '#000000',
  },
}
SCSS
$custom: #8a357b;
$custom-light: #af72a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a357b",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 123
  },
  "hsl": {
    "h": 310.588,
    "s": 44.503,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47309,
    "c": 0.14408,
    "h": 335.1
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#8A357B
secondary
#6AB177
accent
#D46A54
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8A357B

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

Preview Lab → · Contrast checker → · Palette generator →

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