#8A3087#8A3087

#8A3087 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.3% C 0.162 H 329.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8A3087
RGBrgb(138, 48, 135)
HSLhsl(302, 48%, 36%)
HSVhsv(302, 65%, 54%)
CMYKcmyk(0%, 65.2%, 2.2%, 45.9%)
CIE-LABlab(36.49, 49.30, -30.08)
CIE-LCHlch(36.49, 57.75, 328.61°)
OKLaboklab(47.35% 0.1387 -0.0829)
OKLCHoklch(47.35% 0.162 329.1)
XYZxyz(15.9112, 9.2676, 23.8677)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3087 #308A33
analogous
#60308A #8A3087 #8A305A
triadic
#8A3087 #878A30 #30878A
tetradic
#8A3087 #8A6030 #308A33 #305A8A
square
#8A3087 #8A6030 #308A33 #305A8A
split-complementary
#8A3087 #5A8A30 #308A60
monochromatic
#2F102E #5D205B #8A3087 #B740B3 #CB69C8

Accessibility & contrast

On white

7.36
#8A3087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8A3087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3087
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3087#FFFFFF#000000##FFFFFF
##8A30871.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#475A85
Tritanopia (blue-blind)
#8F3B57
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a3087;
/* rgb */ color: rgb(138, 48, 135);
/* oklch */ color: oklch(47.3% 0.162 329.1);
Tailwind
colors: {
  custom: {
    50: '#af6faa',
    500: '#8a3087',
    950: '#000000',
  },
}
SCSS
$custom: #8a3087;
$custom-light: #af6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3087",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 135
  },
  "hsl": {
    "h": 302,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47349,
    "c": 0.16154,
    "h": 329.1
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#8A3087
secondary
#64B266
accent
#D85450
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8A3087

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

Preview Lab → · Contrast checker → · Palette generator →

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