#8A3CC2#8A3CC2

#8A3CC2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.202 H 307.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8A3CC2
RGBrgb(138, 60, 194)
HSLhsl(275, 53%, 50%)
HSVhsv(275, 69%, 76%)
CMYKcmyk(28.9%, 69.1%, 0%, 23.9%)
CIE-LABlab(42.05, 56.01, -56.55)
CIE-LCHlch(42.05, 79.59, 314.73°)
OKLaboklab(52.51% 0.1228 -0.1603)
OKLCHoklch(52.51% 0.202 307.5)
XYZxyz(21.8326, 12.5303, 52.2969)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CC2 #74C23C
analogous
#473CC2 #8A3CC2 #C23CB7
triadic
#8A3CC2 #C28A3C #3CC28A
tetradic
#8A3CC2 #C2473C #74C23C #3CB7C2
square
#8A3CC2 #C2473C #74C23C #3CB7C2
split-complementary
#8A3CC2 #B7C23C #3CC247
monochromatic
#471F65 #692E93 #8A3CC2 #A66AD1 #C299DF

Accessibility & contrast

On white

5.99
#8A3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8A3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CC2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CC2#FFFFFF#000000##FFFFFF
##8A3CC21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#1864BF
Tritanopia (blue-blind)
#815A7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3cc2;
/* rgb */ color: rgb(138, 60, 194);
/* oklch */ color: oklch(52.5% 0.202 307.5);
Tailwind
colors: {
  custom: {
    50: '#b178d5',
    500: '#8a3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cc2;
$custom-light: #b178d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cc2",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 274.925,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.20193,
    "h": 307.5
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#8A3CC2
secondary
#A8CB8F
accent
#DC4C88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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