#8A3CB0#8A3CB0

#8A3CB0 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.3% C 0.184 H 312.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8A3CB0
RGBrgb(138, 60, 176)
HSLhsl(280, 49%, 46%)
HSVhsv(280, 66%, 69%)
CMYKcmyk(21.6%, 65.9%, 0%, 31%)
CIE-LABlab(40.85, 52.02, -47.91)
CIE-LCHlch(40.85, 70.72, 317.36°)
OKLaboklab(51.27% 0.1244 -0.1349)
OKLCHoklch(51.27% 0.184 312.7)
XYZxyz(19.9322, 11.7701, 42.2878)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CB0 #62B03C
analogous
#503CB0 #8A3CB0 #B03C9C
triadic
#8A3CB0 #B08A3C #3CB08A
tetradic
#8A3CB0 #B0503C #62B03C #3C9CB0
square
#8A3CB0 #B0503C #62B03C #3C9CB0
split-complementary
#8A3CB0 #9CB03C #3CB050
monochromatic
#421D55 #662C82 #8A3CB0 #A760C9 #C08ED8

Accessibility & contrast

On white

6.26
#8A3CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8A3CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CB0
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CB0#FFFFFF#000000##FFFFFF
##8A3CB01.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#3362AD
Tritanopia (blue-blind)
#865371
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a3cb0;
/* rgb */ color: rgb(138, 60, 176);
/* oklch */ color: oklch(51.3% 0.184 312.7);
Tailwind
colors: {
  custom: {
    50: '#b077c8',
    500: '#8a3cb0',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cb0;
$custom-light: #b077c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cb0",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 280.345,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.18355,
    "h": 312.7
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#8A3CB0
secondary
#99C385
accent
#D94F7C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8A3CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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