#8A3BC7#8A3BC7

#8A3BC7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.208 H 306.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A3BC7
RGBrgb(138, 59, 199)
HSLhsl(274, 56%, 51%)
HSVhsv(274, 70%, 78%)
CMYKcmyk(30.7%, 70.4%, 0%, 22%)
CIE-LABlab(42.24, 57.59, -59.15)
CIE-LCHlch(42.24, 82.56, 314.24°)
OKLaboklab(52.76% 0.1232 -0.1679)
OKLCHoklch(52.76% 0.208 306.3)
XYZxyz(22.3518, 12.6549, 55.2869)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BC7 #78C73B
analogous
#443BC7 #8A3BC7 #C73BBE
triadic
#8A3BC7 #C78A3B #3BC78A
tetradic
#8A3BC7 #C7443B #78C73B #3BBEC7
square
#8A3BC7 #C7443B #78C73B #3BBEC7
split-complementary
#8A3BC7 #BEC73B #3BC744
monochromatic
#491E69 #692C99 #8A3BC7 #A66BD5 #C39AE2

Accessibility & contrast

On white

5.95
#8A3BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8A3BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BC7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BC7#FFFFFF#000000##FFFFFF
##8A3BC71.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0364C4
Tritanopia (blue-blind)
#7F5B7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3bc7;
/* rgb */ color: rgb(138, 59, 199);
/* oklch */ color: oklch(52.8% 0.208 306.3);
Tailwind
colors: {
  custom: {
    50: '#b177d9',
    500: '#8a3bc7',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bc7;
$custom-light: #b177d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bc7",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 273.857,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52759,
    "c": 0.20825,
    "h": 306.3
  },
  "luminance": 0.12655
}

Semantic roles & 50–950 ramp

primary
#8A3BC7
secondary
#ABCE90
accent
#DF498A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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