#8A3F85#8A3F85

#8A3F85 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.1% C 0.137 H 330.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8A3F85
RGBrgb(138, 63, 133)
HSLhsl(304, 37%, 39%)
HSVhsv(304, 54%, 54%)
CMYKcmyk(0%, 54.3%, 3.6%, 45.9%)
CIE-LABlab(38.99, 41.86, -24.94)
CIE-LCHlch(38.99, 48.72, 329.21°)
OKLaboklab(49.14% 0.1182 -0.0683)
OKLCHoklch(49.14% 0.137 330)
XYZxyz(16.4922, 10.6528, 23.3733)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3F85 #3F8A44
analogous
#6A3F8A #8A3F85 #8A3F60
triadic
#8A3F85 #858A3F #3F858A
tetradic
#8A3F85 #8A6A3F #3F8A44 #3F608A
square
#8A3F85 #8A6A3F #3F8A44 #3F608A
split-complementary
#8A3F85 #608A3F #3F8A6A
monochromatic
#361934 #602C5D #8A3F85 #B155AB #C57FC0

Accessibility & contrast

On white

6.71
#8A3F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A3F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3F85
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3F85#FFFFFF#000000##FFFFFF
##8A3F851.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5587
Deuteranopia (green-blind)
#516083
Tritanopia (blue-blind)
#8F465C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a3f85;
/* rgb */ color: rgb(138, 63, 133);
/* oklch */ color: oklch(49.1% 0.137 330.0);
Tailwind
colors: {
  custom: {
    50: '#ae78a8',
    500: '#8a3f85',
    950: '#000000',
  },
}
SCSS
$custom: #8a3f85;
$custom-light: #ae78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3f85",
  "rgb": {
    "r": 138,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 304,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49141,
    "c": 0.13651,
    "h": 330
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#8A3F85
secondary
#76AF7A
accent
#CD625B
background
#FAF7FA
surface
#F5EDF4
border
#CFC8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8A3F85

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

Preview Lab → · Contrast checker → · Palette generator →

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