#8A3093#8A3093

#8A3093 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.172 H 324.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A3093
RGBrgb(138, 48, 147)
HSLhsl(295, 51%, 38%)
HSVhsv(295, 67%, 58%)
CMYKcmyk(6.1%, 67.3%, 0%, 42.4%)
CIE-LABlab(37.16, 51.49, -36.39)
CIE-LCHlch(37.16, 63.05, 324.75°)
OKLaboklab(48.05% 0.1392 -0.1012)
OKLCHoklch(48.05% 0.172 324)
XYZxyz(16.8042, 9.6247, 28.5708)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3093 #399330
analogous
#583093 #8A3093 #93306A
triadic
#8A3093 #938A30 #30938A
tetradic
#8A3093 #935830 #399330 #306A93
square
#8A3093 #935830 #399330 #306A93
split-complementary
#8A3093 #6A9330 #309358
monochromatic
#331237 #5F2165 #8A3093 #B540C1 #C76ED0

Accessibility & contrast

On white

7.18
#8A3093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8A3093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3093
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3093#FFFFFF#000000##FFFFFF
##8A30931.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5196
Deuteranopia (green-blind)
#415B90
Tritanopia (blue-blind)
#8D405D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a3093;
/* rgb */ color: rgb(138, 48, 147);
/* oklch */ color: oklch(48.0% 0.172 324.0);
Tailwind
colors: {
  custom: {
    50: '#af70b3',
    500: '#8a3093',
    950: '#000000',
  },
}
SCSS
$custom: #8a3093;
$custom-light: #af70b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3093",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 147
  },
  "hsl": {
    "h": 294.545,
    "s": 50.769,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.17206,
    "h": 324
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#8A3093
secondary
#6FB768
accent
#DA4E5A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8A3093

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

Preview Lab → · Contrast checker → · Palette generator →

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