#8A3F94#8A3F94

#8A3F94 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.9% C 0.151 H 322.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A3F94
RGBrgb(138, 63, 148)
HSLhsl(293, 40%, 41%)
HSVhsv(293, 57%, 58%)
CMYKcmyk(6.8%, 57.4%, 0%, 42%)
CIE-LABlab(39.74, 44.73, -32.90)
CIE-LCHlch(39.74, 55.53, 323.66°)
OKLaboklab(49.94% 0.1202 -0.0912)
OKLCHoklch(49.94% 0.151 322.8)
XYZxyz(17.6035, 11.0973, 29.2260)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F94 #49943F
analogous
#603F94 #8A3F94 #943F74
triadic
#8A3F94 #948A3F #3F948A
tetradic
#8A3F94 #94603F #49943F #3F7494
square
#8A3F94 #94603F #49943F #3F7494
split-complementary
#8A3F94 #74943F #3F9460
monochromatic
#3A1A3E #622D69 #8A3F94 #AD58B8 #C283CA

Accessibility & contrast

On white

6.52
#8A3F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A3F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F94
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F94#FFFFFF#000000##FFFFFF
##8A3F941.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315897
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#8C4B63
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a3f94;
/* rgb */ color: rgb(138, 63, 148);
/* oklch */ color: oklch(49.9% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#ae78b4',
    500: '#8a3f94',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f94;
$custom-light: #ae78b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f94",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 292.941,
    "s": 40.284,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49941,
    "c": 0.15084,
    "h": 322.8
  },
  "luminance": 0.11096
}

Semantic roles & 50–950 ramp

primary
#8A3F94
secondary
#81B57A
accent
#D05866
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3F94

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

Preview Lab → · Contrast checker → · Palette generator →

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