#8C3AC8#8C3AC8

#8C3AC8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.0% C 0.211 H 306.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8C3AC8
RGBrgb(140, 58, 200)
HSLhsl(275, 56%, 51%)
HSVhsv(275, 71%, 78%)
CMYKcmyk(30%, 71%, 0%, 21.6%)
CIE-LABlab(42.42, 58.65, -59.42)
CIE-LCHlch(42.42, 83.49, 314.62°)
OKLaboklab(52.97% 0.1267 -0.1687)
OKLCHoklch(52.97% 0.211 306.9)
XYZxyz(22.7514, 12.7720, 55.8991)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3AC8 #76C83A
analogous
#453AC8 #8C3AC8 #C83ABD
triadic
#8C3AC8 #C88C3A #3AC88C
tetradic
#8C3AC8 #C8453A #76C83A #3ABDC8
square
#8C3AC8 #C8453A #76C83A #3ABDC8
split-complementary
#8C3AC8 #BDC83A #3AC845
monochromatic
#4A1E6A #6B2B9A #8C3AC8 #A86AD5 #C49AE3

Accessibility & contrast

On white

5.91
#8C3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8C3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3AC8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3AC8#FFFFFF#000000##FFFFFF
##8C3AC81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0465C5
Tritanopia (blue-blind)
#825B7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c3ac8;
/* rgb */ color: rgb(140, 58, 200);
/* oklch */ color: oklch(53.0% 0.211 306.9);
Tailwind
colors: {
  custom: {
    50: '#b377da',
    500: '#8c3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8c3ac8;
$custom-light: #b377da;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3ac8",
  "rgb": {
    "r": 140,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 274.648,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.21095,
    "h": 306.9
  },
  "luminance": 0.12772
}

Semantic roles & 50–950 ramp

primary
#8C3AC8
secondary
#AACE8F
accent
#E04888
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8C3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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