#8A3390#8A3390

#8A3390 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.2% C 0.165 H 325.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8A3390
RGBrgb(138, 51, 144)
HSLhsl(296, 48%, 38%)
HSVhsv(296, 65%, 56%)
CMYKcmyk(4.2%, 64.6%, 0%, 43.5%)
CIE-LABlab(37.45, 49.63, -34.09)
CIE-LCHlch(37.45, 60.21, 325.52°)
OKLaboklab(48.2% 0.1355 -0.0945)
OKLCHoklch(48.2% 0.165 325.1)
XYZxyz(16.6987, 9.7855, 27.3894)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3390 #399033
analogous
#5B3390 #8A3390 #903367
triadic
#8A3390 #908A33 #33908A
tetradic
#8A3390 #905B33 #399033 #336790
square
#8A3390 #905B33 #399033 #336790
split-complementary
#8A3390 #679033 #33905B
monochromatic
#331336 #5F2363 #8A3390 #B544BD #C771CD

Accessibility & contrast

On white

7.10
#8A3390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A3390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3390
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3390#FFFFFF#000000##FFFFFF
##8A33901.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235193
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#8D405D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a3390;
/* rgb */ color: rgb(138, 51, 144);
/* oklch */ color: oklch(48.2% 0.165 325.1);
Tailwind
colors: {
  custom: {
    50: '#af71b1',
    500: '#8a3390',
    950: '#000000',
  },
}
SCSS
$custom: #8a3390;
$custom-light: #af71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3390",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 144
  },
  "hsl": {
    "h": 296.129,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48204,
    "c": 0.16522,
    "h": 325.1
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

primary
#8A3390
secondary
#6FB56A
accent
#D75159
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3390

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

Preview Lab → · Contrast checker → · Palette generator →

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