#8A3790#8A3790

#8A3790 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.159 H 324.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A3790
RGBrgb(138, 55, 144)
HSLhsl(296, 45%, 39%)
HSVhsv(296, 62%, 56%)
CMYKcmyk(4.2%, 61.8%, 0%, 43.5%)
CIE-LABlab(38.11, 47.82, -33.05)
CIE-LCHlch(38.11, 58.13, 325.35°)
OKLaboklab(48.68% 0.1305 -0.0916)
OKLCHoklch(48.68% 0.159 324.9)
XYZxyz(16.8811, 10.1502, 27.4502)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3790 #3D9037
analogous
#5E3790 #8A3790 #90376A
triadic
#8A3790 #908A37 #37908A
tetradic
#8A3790 #905E37 #3D9037 #376A90
square
#8A3790 #905E37 #3D9037 #376A90
split-complementary
#8A3790 #6A9037 #37905E
monochromatic
#351537 #602664 #8A3790 #B24ABA #C577CB

Accessibility & contrast

On white

6.93
#8A3790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A3790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3790
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3790#FFFFFF#000000##FFFFFF
##8A37901.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295393
Deuteranopia (green-blind)
#475D8E
Tritanopia (blue-blind)
#8D435E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a3790;
/* rgb */ color: rgb(138, 55, 144);
/* oklch */ color: oklch(48.7% 0.159 324.9);
Tailwind
colors: {
  custom: {
    50: '#af73b1',
    500: '#8a3790',
    950: '#000000',
  },
}
SCSS
$custom: #8a3790;
$custom-light: #af73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3790",
  "rgb": {
    "r": 138,
    "g": 55,
    "b": 144
  },
  "hsl": {
    "h": 295.955,
    "s": 44.724,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4868,
    "c": 0.1594,
    "h": 324.9
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#8A3790
secondary
#74B46F
accent
#D4535C
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3790

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

Preview Lab → · Contrast checker → · Palette generator →

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