#8A3F95#8A3F95

#8A3F95 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.0% C 0.152 H 322.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8A3F95
RGBrgb(138, 63, 149)
HSLhsl(292, 41%, 42%)
HSVhsv(292, 58%, 58%)
CMYKcmyk(7.4%, 57.7%, 0%, 41.6%)
CIE-LABlab(39.80, 44.93, -33.42)
CIE-LCHlch(39.80, 56.00, 323.35°)
OKLaboklab(50% 0.1203 -0.0927)
OKLCHoklch(50% 0.152 322.4)
XYZxyz(17.6830, 11.1291, 29.6446)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F95 #4A953F
analogous
#5F3F95 #8A3F95 #953F75
triadic
#8A3F95 #958A3F #3F958A
tetradic
#8A3F95 #955F3F #4A953F #3F7595
square
#8A3F95 #955F3F #4A953F #3F7595
split-complementary
#8A3F95 #75953F #3F955F
monochromatic
#3A1B3F #622D6A #8A3F95 #AC59B9 #C284CB

Accessibility & contrast

On white

6.51
#8A3F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A3F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F95
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F95#FFFFFF#000000##FFFFFF
##8A3F951.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305898
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#8C4B64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a3f95;
/* rgb */ color: rgb(138, 63, 149);
/* oklch */ color: oklch(50.0% 0.152 322.4);
Tailwind
colors: {
  custom: {
    50: '#ae78b4',
    500: '#8a3f95',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f95;
$custom-light: #ae78b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f95",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 292.326,
    "s": 40.566,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49997,
    "c": 0.15183,
    "h": 322.4
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#8A3F95
secondary
#82B57B
accent
#D05767
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A3F95

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

Preview Lab → · Contrast checker → · Palette generator →

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