#8A368F#8A368F

#8A368F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.5% C 0.160 H 325.4°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A368F
RGBrgb(138, 54, 143)
HSLhsl(297, 45%, 39%)
HSVhsv(297, 62%, 56%)
CMYKcmyk(3.5%, 62.2%, 0%, 43.9%)
CIE-LABlab(37.89, 48.09, -32.79)
CIE-LCHlch(37.89, 58.21, 325.71°)
OKLaboklab(48.5% 0.1317 -0.0908)
OKLCHoklch(48.5% 0.16 325.4)
XYZxyz(16.7580, 10.0258, 27.0338)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A368F #3B8F36
analogous
#5D368F #8A368F #8F3667
triadic
#8A368F #8F8A36 #368F8A
tetradic
#8A368F #8F5D36 #3B8F36 #36678F
square
#8A368F #8F5D36 #3B8F36 #36678F
split-complementary
#8A368F #678F36 #368F5D
monochromatic
#341436 #5F2563 #8A368F #B448BA #C675CB

Accessibility & contrast

On white

6.99
#8A368F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A368F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A368F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A368F#FFFFFF#000000##FFFFFF
##8A368F1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a368f;
/* rgb */ color: rgb(138, 54, 143);
/* oklch */ color: oklch(48.5% 0.160 325.4);
Tailwind
colors: {
  custom: {
    50: '#af73b0',
    500: '#8a368f',
    950: '#000000',
  },
}
SCSS
$custom: #8a368f;
$custom-light: #af73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a368f",
  "rgb": {
    "r": 138,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 296.629,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.15996,
    "h": 325.4
  },
  "luminance": 0.10025
}

Semantic roles & 50–950 ramp

primary
#8A368F
secondary
#71B36D
accent
#D5535A
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A368F

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

Preview Lab → · Contrast checker → · Palette generator →

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