#8A3D93#8A3D93

#8A3D93 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.6% C 0.153 H 323.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8A3D93
RGBrgb(138, 61, 147)
HSLhsl(294, 41%, 41%)
HSVhsv(294, 59%, 58%)
CMYKcmyk(6.1%, 58.5%, 0%, 42.4%)
CIE-LABlab(39.32, 45.53, -32.96)
CIE-LCHlch(39.32, 56.21, 324.10°)
OKLaboklab(49.62% 0.1228 -0.0913)
OKLCHoklch(49.62% 0.153 323.4)
XYZxyz(17.4159, 10.8482, 28.7747)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3D93 #46933D
analogous
#5F3D93 #8A3D93 #933D71
triadic
#8A3D93 #938A3D #3D938A
tetradic
#8A3D93 #935F3D #46933D #3D7193
square
#8A3D93 #935F3D #46933D #3D7193
split-complementary
#8A3D93 #71933D #3D935F
monochromatic
#39193C #612B68 #8A3D93 #AE55B8 #C380CA

Accessibility & contrast

On white

6.63
#8A3D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8A3D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3D93
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3D93#FFFFFF#000000##FFFFFF
##8A3D931.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5796
Deuteranopia (green-blind)
#496091
Tritanopia (blue-blind)
#8C4962
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a3d93;
/* rgb */ color: rgb(138, 61, 147);
/* oklch */ color: oklch(49.6% 0.153 323.4);
Tailwind
colors: {
  custom: {
    50: '#ae77b3',
    500: '#8a3d93',
    950: '#000000',
  },
}
SCSS
$custom: #8a3d93;
$custom-light: #ae77b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3d93",
  "rgb": {
    "r": 138,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 293.721,
    "s": 41.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.15303,
    "h": 323.4
  },
  "luminance": 0.10847
}

Semantic roles & 50–950 ramp

primary
#8A3D93
secondary
#7EB477
accent
#D15763
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3D93

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

Preview Lab → · Contrast checker → · Palette generator →

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