#8C3AD2#8C3AD2

#8C3AD2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.221 H 304.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8C3AD2
RGBrgb(140, 58, 210)
HSLhsl(272, 63%, 53%)
HSVhsv(272, 72%, 82%)
CMYKcmyk(33.3%, 72.4%, 0%, 17.6%)
CIE-LABlab(43.14, 60.91, -64.03)
CIE-LCHlch(43.14, 88.37, 313.57°)
OKLaboklab(53.71% 0.125 -0.1822)
OKLCHoklch(53.71% 0.221 304.5)
XYZxyz(23.9585, 13.2548, 62.2565)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3AD2 #80D23A
analogous
#403AD2 #8C3AD2 #D23ACC
triadic
#8C3AD2 #D28C3A #3AD28C
tetradic
#8C3AD2 #D2403A #80D23A #3ACCD2
square
#8C3AD2 #D2403A #80D23A #3ACCD2
split-complementary
#8C3AD2 #CCD23A #3AD240
monochromatic
#4C1B77 #6D26A8 #8C3AD2 #A96CDD #C69EE9

Accessibility & contrast

On white

5.75
#8C3AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8C3AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3AD2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3AD2#FFFFFF#000000##FFFFFF
##8C3AD21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#7F5F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c3ad2;
/* rgb */ color: rgb(140, 58, 210);
/* oklch */ color: oklch(53.7% 0.221 304.5);
Tailwind
colors: {
  custom: {
    50: '#b377e1',
    500: '#8c3ad2',
    950: '#000000',
  },
}
SCSS
$custom: #8c3ad2;
$custom-light: #b377e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3ad2",
  "rgb": {
    "r": 140,
    "g": 58,
    "b": 210
  },
  "hsl": {
    "h": 272.368,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.22096,
    "h": 304.5
  },
  "luminance": 0.13255
}

Semantic roles & 50–950 ramp

primary
#8C3AD2
secondary
#B1D593
accent
#E6428D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C3AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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