#8C3ADB#8C3ADB

#8C3ADB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.4% C 0.230 H 302.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8C3ADB
RGBrgb(140, 58, 219)
HSLhsl(271, 69%, 54%)
HSVhsv(271, 74%, 86%)
CMYKcmyk(36.1%, 73.5%, 0%, 14.1%)
CIE-LABlab(43.82, 62.98, -68.09)
CIE-LCHlch(43.82, 92.75, 312.77°)
OKLaboklab(54.4% 0.1232 -0.1941)
OKLCHoklch(54.4% 0.23 302.4)
XYZxyz(25.1114, 13.7160, 68.3286)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3ADB #89DB3A
analogous
#3C3ADB #8C3ADB #DB3ADA
triadic
#8C3ADB #DB8C3A #3ADB8C
tetradic
#8C3ADB #DB3C3A #89DB3A #3ADADB
square
#8C3ADB #DB3C3A #89DB3A #3ADADB
split-complementary
#8C3ADB #DADB3A #3ADB3C
monochromatic
#4E1883 #6D21B6 #8C3ADB #AA6EE4 #C8A1EE

Accessibility & contrast

On white

5.61
#8C3ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8C3ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3ADB
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3ADB#FFFFFF#000000##FFFFFF
##8C3ADB1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#7B6288
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c3adb;
/* rgb */ color: rgb(140, 58, 219);
/* oklch */ color: oklch(54.4% 0.230 302.4);
Tailwind
colors: {
  custom: {
    50: '#b478e7',
    500: '#8c3adb',
    950: '#000000',
  },
}
SCSS
$custom: #8c3adb;
$custom-light: #b478e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3adb",
  "rgb": {
    "r": 140,
    "g": 58,
    "b": 219
  },
  "hsl": {
    "h": 270.559,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.22995,
    "h": 302.4
  },
  "luminance": 0.13716
}

Semantic roles & 50–950 ramp

primary
#8C3ADB
secondary
#B8DB96
accent
#EC3C92
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8C3ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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