#8A3CC5#8A3CC5

#8A3CC5 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.205 H 306.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A3CC5
RGBrgb(138, 60, 197)
HSLhsl(274, 54%, 50%)
HSVhsv(274, 70%, 77%)
CMYKcmyk(29.9%, 69.5%, 0%, 22.7%)
CIE-LABlab(42.26, 56.69, -57.96)
CIE-LCHlch(42.26, 81.07, 314.37°)
OKLaboklab(52.73% 0.1224 -0.1644)
OKLCHoklch(52.73% 0.205 306.7)
XYZxyz(22.1730, 12.6664, 54.0893)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CC5 #77C53C
analogous
#463CC5 #8A3CC5 #C53CBB
triadic
#8A3CC5 #C58A3C #3CC58A
tetradic
#8A3CC5 #C5463C #77C53C #3CBBC5
square
#8A3CC5 #C5463C #77C53C #3CBBC5
split-complementary
#8A3CC5 #BBC53C #3CC546
monochromatic
#481F68 #692D97 #8A3CC5 #A66BD3 #C39AE1

Accessibility & contrast

On white

5.94
#8A3CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A3CC5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CC5#FFFFFF#000000##FFFFFF
##8A3CC51.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0F64C2
Tritanopia (blue-blind)
#805B7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3cc5;
/* rgb */ color: rgb(138, 60, 197);
/* oklch */ color: oklch(52.7% 0.205 306.7);
Tailwind
colors: {
  custom: {
    50: '#b178d7',
    500: '#8a3cc5',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cc5;
$custom-light: #b178d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cc5",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 274.161,
    "s": 54.15,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.205,
    "h": 306.7
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#8A3CC5
secondary
#AACD90
accent
#DE4A8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A3CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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