#8A3B95#8A3B95

#8A3B95 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.5% C 0.158 H 322.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A3B95
RGBrgb(138, 59, 149)
HSLhsl(293, 43%, 41%)
HSVhsv(293, 60%, 58%)
CMYKcmyk(7.4%, 60.4%, 0%, 41.6%)
CIE-LABlab(39.07, 46.90, -34.57)
CIE-LCHlch(39.07, 58.26, 323.61°)
OKLaboklab(49.47% 0.1256 -0.096)
OKLCHoklch(49.47% 0.158 322.6)
XYZxyz(17.4695, 10.7020, 29.5735)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3B95 #46953B
analogous
#5D3B95 #8A3B95 #953B73
triadic
#8A3B95 #958A3B #3B958A
tetradic
#8A3B95 #955D3B #46953B #3B7395
square
#8A3B95 #955D3B #46953B #3B7395
split-complementary
#8A3B95 #73953B #3B955D
monochromatic
#39183D #612A69 #8A3B95 #AE53BB #C37ECC

Accessibility & contrast

On white

6.69
#8A3B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A3B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3B95
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3B95#FFFFFF#000000##FFFFFF
##8A3B951.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#475F93
Tritanopia (blue-blind)
#8C4862
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3b95;
/* rgb */ color: rgb(138, 59, 149);
/* oklch */ color: oklch(49.5% 0.158 322.6);
Tailwind
colors: {
  custom: {
    50: '#af76b4',
    500: '#8a3b95',
    950: '#000000',
  },
}
SCSS
$custom: #8a3b95;
$custom-light: #af76b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3b95",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 149
  },
  "hsl": {
    "h": 292.667,
    "s": 43.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.15808,
    "h": 322.6
  },
  "luminance": 0.10701
}

Semantic roles & 50–950 ramp

primary
#8A3B95
secondary
#7EB676
accent
#D35564
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3B95

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

Preview Lab → · Contrast checker → · Palette generator →

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