#8A3CC1#8A3CC1

#8A3CC1 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.201 H 307.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A3CC1
RGBrgb(138, 60, 193)
HSLhsl(275, 53%, 50%)
HSVhsv(275, 69%, 76%)
CMYKcmyk(28.5%, 68.9%, 0%, 24.3%)
CIE-LABlab(41.98, 55.79, -56.08)
CIE-LCHlch(41.98, 79.10, 314.85°)
OKLaboklab(52.44% 0.1229 -0.1589)
OKLCHoklch(52.44% 0.201 307.7)
XYZxyz(21.7207, 12.4856, 51.7074)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CC1 #73C13C
analogous
#483CC1 #8A3CC1 #C13CB6
triadic
#8A3CC1 #C18A3C #3CC18A
tetradic
#8A3CC1 #C1483C #73C13C #3CB6C1
square
#8A3CC1 #C1483C #73C13C #3CB6C1
split-complementary
#8A3CC1 #B6C13C #3CC148
monochromatic
#471F64 #692D92 #8A3CC1 #A66AD1 #C298DF

Accessibility & contrast

On white

6.01
#8A3CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A3CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CC1
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CC1#FFFFFF#000000##FFFFFF
##8A3CC11.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#1B64BE
Tritanopia (blue-blind)
#81597A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a3cc1;
/* rgb */ color: rgb(138, 60, 193);
/* oklch */ color: oklch(52.4% 0.201 307.7);
Tailwind
colors: {
  custom: {
    50: '#b178d4',
    500: '#8a3cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cc1;
$custom-light: #b178d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cc1",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 275.188,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.2009,
    "h": 307.7
  },
  "luminance": 0.12485
}

Semantic roles & 50–950 ramp

primary
#8A3CC1
secondary
#A7CB8E
accent
#DC4C87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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