#8A3CC4#8A3CC4

#8A3CC4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.204 H 306.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A3CC4
RGBrgb(138, 60, 196)
HSLhsl(274, 54%, 50%)
HSVhsv(274, 69%, 77%)
CMYKcmyk(29.6%, 69.4%, 0%, 23.1%)
CIE-LABlab(42.19, 56.47, -57.49)
CIE-LCHlch(42.19, 80.58, 314.49°)
OKLaboklab(52.65% 0.1225 -0.1631)
OKLCHoklch(52.65% 0.204 306.9)
XYZxyz(22.0588, 12.6208, 53.4878)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CC4 #76C43C
analogous
#463CC4 #8A3CC4 #C43CBA
triadic
#8A3CC4 #C48A3C #3CC48A
tetradic
#8A3CC4 #C4463C #76C43C #3CBAC4
square
#8A3CC4 #C4463C #76C43C #3CBAC4
split-complementary
#8A3CC4 #BAC43C #3CC446
monochromatic
#481F67 #692D96 #8A3CC4 #A66BD2 #C29AE0

Accessibility & contrast

On white

5.96
#8A3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8A3CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CC4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CC4#FFFFFF#000000##FFFFFF
##8A3CC41.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1364C1
Tritanopia (blue-blind)
#805B7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3cc4;
/* rgb */ color: rgb(138, 60, 196);
/* oklch */ color: oklch(52.7% 0.204 306.9);
Tailwind
colors: {
  custom: {
    50: '#b178d7',
    500: '#8a3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cc4;
$custom-light: #b178d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cc4",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 274.412,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.20397,
    "h": 306.9
  },
  "luminance": 0.12621
}

Semantic roles & 50–950 ramp

primary
#8A3CC4
secondary
#A9CC90
accent
#DD4B89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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