#8A3CC9#8A3CC9

#8A3CC9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.209 H 305.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A3CC9
RGBrgb(138, 60, 201)
HSLhsl(273, 57%, 51%)
HSVhsv(273, 70%, 79%)
CMYKcmyk(31.3%, 70.1%, 0%, 21.2%)
CIE-LABlab(42.54, 57.61, -59.82)
CIE-LCHlch(42.54, 83.05, 313.92°)
OKLaboklab(53.02% 0.1218 -0.1699)
OKLCHoklch(53.02% 0.209 305.6)
XYZxyz(22.6374, 12.8522, 56.5352)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3CC9 #7BC93C
analogous
#433CC9 #8A3CC9 #C93CC2
triadic
#8A3CC9 #C98A3C #3CC98A
tetradic
#8A3CC9 #C9433C #7BC93C #3CC2C9
square
#8A3CC9 #C9433C #7BC93C #3CC2C9
split-complementary
#8A3CC9 #C2C93C #3CC943
monochromatic
#491E6D #6A2B9C #8A3CC9 #A76CD6 #C49CE4

Accessibility & contrast

On white

5.88
#8A3CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8A3CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3CC9
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3CC9#FFFFFF#000000##FFFFFF
##8A3CC91.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CD
Deuteranopia (green-blind)
#0065C6
Tritanopia (blue-blind)
#7F5D7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a3cc9;
/* rgb */ color: rgb(138, 60, 201);
/* oklch */ color: oklch(53.0% 0.209 305.6);
Tailwind
colors: {
  custom: {
    50: '#b178da',
    500: '#8a3cc9',
    950: '#000000',
  },
}
SCSS
$custom: #8a3cc9;
$custom-light: #b178da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3cc9",
  "rgb": {
    "r": 138,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 273.191,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53018,
    "c": 0.20908,
    "h": 305.6
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#8A3CC9
secondary
#ADD091
accent
#E0488C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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