#8A368C#8A368C

#8A368C is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.3% C 0.157 H 326.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A368C
RGBrgb(138, 54, 140)
HSLhsl(299, 44%, 38%)
HSVhsv(299, 61%, 55%)
CMYKcmyk(1.4%, 61.4%, 0%, 45.1%)
CIE-LABlab(37.73, 47.53, -31.21)
CIE-LCHlch(37.73, 56.86, 326.71°)
OKLaboklab(48.33% 0.1315 -0.0862)
OKLCHoklch(48.33% 0.157 326.7)
XYZxyz(16.5337, 9.9361, 25.8529)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A368C #388C36
analogous
#5F368C #8A368C #8C3663
triadic
#8A368C #8C8A36 #368C8A
tetradic
#8A368C #8C5F36 #388C36 #36638C
square
#8A368C #8C5F36 #388C36 #36638C
split-complementary
#8A368C #638C36 #368C5F
monochromatic
#331434 #5E2560 #8A368C #B547B8 #C773C9

Accessibility & contrast

On white

7.03
#8A368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A368C
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A368C#FFFFFF#000000##FFFFFF
##8A368C1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#485D8A
Tritanopia (blue-blind)
#8E415C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a368c;
/* rgb */ color: rgb(138, 54, 140);
/* oklch */ color: oklch(48.3% 0.157 326.7);
Tailwind
colors: {
  custom: {
    50: '#af73ae',
    500: '#8a368c',
    950: '#000000',
  },
}
SCSS
$custom: #8a368c;
$custom-light: #af73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8a368c",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 298.605,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48331,
    "c": 0.15722,
    "h": 326.7
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#8A368C
secondary
#6EB26C
accent
#D45457
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A368C

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

Preview Lab → · Contrast checker → · Palette generator →

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