#8A3CC7#8A3CC7

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

Color values

HEX#8A3CC7
RGBrgb(138, 60, 199)
HSLhsl(274, 55%, 51%)
HSVhsv(274, 70%, 78%)
CMYKcmyk(30.7%, 69.8%, 0%, 22%)
CIE-LABlab(42.40, 57.15, -58.89)
CIE-LCHlch(42.40, 82.06, 314.14°)
OKLaboklab(52.87% 0.1221 -0.1672)
OKLCHoklch(52.87% 0.207 306.1)
XYZxyz(22.4037, 12.7587, 55.3042)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CC7 #79C73C
analogous
#443CC7 #8A3CC7 #C73CBE
triadic
#8A3CC7 #C78A3C #3CC78A
tetradic
#8A3CC7 #C7443C #79C73C #3CBEC7
square
#8A3CC7 #C7443C #79C73C #3CBEC7
split-complementary
#8A3CC7 #BEC73C #3CC744
monochromatic
#491E6A #6A2C9A #8A3CC7 #A76CD5 #C39BE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A3CC7#FFFFFF#000000##FFFFFF
##8A3CC71.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)
#0062CB
Deuteranopia (green-blind)
#0764C4
Tritanopia (blue-blind)
#7F5C7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3cc7;
/* rgb */ color: rgb(138, 60, 199);
/* oklch */ color: oklch(52.9% 0.207 306.1);
Tailwind
colors: {
  custom: {
    50: '#b178d9',
    500: '#8a3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cc7;
$custom-light: #b178d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cc7",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 273.669,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.20704,
    "h": 306.1
  },
  "luminance": 0.12759
}

Semantic roles & 50–950 ramp

primary
#8A3CC7
secondary
#ACCE91
accent
#DF498B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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