#8A368E#8A368E

#8A368E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.4% C 0.159 H 325.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A368E
RGBrgb(138, 54, 142)
HSLhsl(297, 45%, 38%)
HSVhsv(297, 62%, 56%)
CMYKcmyk(2.8%, 62%, 0%, 44.3%)
CIE-LABlab(37.83, 47.90, -32.27)
CIE-LCHlch(37.83, 57.76, 326.04°)
OKLaboklab(48.44% 0.1316 -0.0893)
OKLCHoklch(48.44% 0.159 325.9)
XYZxyz(16.6825, 9.9956, 26.6366)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A368E #3A8E36
analogous
#5E368E #8A368E #8E3666
triadic
#8A368E #8E8A36 #368E8A
tetradic
#8A368E #8E5E36 #3A8E36 #36668E
square
#8A368E #8E5E36 #3A8E36 #36668E
split-complementary
#8A368E #668E36 #368E5E
monochromatic
#341435 #5F2562 #8A368E #B448B9 #C674CA

Accessibility & contrast

On white

7.00
#8A368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8A368E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A368E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A368E#FFFFFF#000000##FFFFFF
##8A368E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#8D425D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a368e;
/* rgb */ color: rgb(138, 54, 142);
/* oklch */ color: oklch(48.4% 0.159 325.9);
Tailwind
colors: {
  custom: {
    50: '#af73af',
    500: '#8a368e',
    950: '#000000',
  },
}
SCSS
$custom: #8a368e;
$custom-light: #af73af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a368e",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 297.273,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48444,
    "c": 0.15905,
    "h": 325.9
  },
  "luminance": 0.09995
}

Semantic roles & 50–950 ramp

primary
#8A368E
secondary
#70B36D
accent
#D55359
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A368E

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

Preview Lab → · Contrast checker → · Palette generator →

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