#8A3BCE#8A3BCE

#8A3BCE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.3% C 0.215 H 304.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A3BCE
RGBrgb(138, 59, 206)
HSLhsl(272, 60%, 52%)
HSVhsv(272, 71%, 81%)
CMYKcmyk(33%, 71.4%, 0%, 19.2%)
CIE-LABlab(42.74, 59.19, -62.38)
CIE-LCHlch(42.74, 86.00, 313.50°)
OKLaboklab(53.28% 0.122 -0.1774)
OKLCHoklch(53.28% 0.215 304.5)
XYZxyz(23.1832, 12.9875, 59.6661)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3BCE #7FCE3B
analogous
#413BCE #8A3BCE #CE3BC8
triadic
#8A3BCE #CE8A3B #3BCE8A
tetradic
#8A3BCE #CE413B #7FCE3B #3BC8CE
square
#8A3BCE #CE413B #7FCE3B #3BC8CE
split-complementary
#8A3BCE #C8CE3B #3BCE41
monochromatic
#4B1D72 #6A29A3 #8A3BCE #A76CDA #C49DE6

Accessibility & contrast

On white

5.84
#8A3BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#8A3BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A3BCE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3BCE#FFFFFF#000000##FFFFFF
##8A3BCE1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#7D5E81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a3bce;
/* rgb */ color: rgb(138, 59, 206);
/* oklch */ color: oklch(53.3% 0.215 304.5);
Tailwind
colors: {
  custom: {
    50: '#b278de',
    500: '#8a3bce',
    950: '#000000',
  },
}
SCSS
$custom: #8a3bce;
$custom-light: #b278de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3bce",
  "rgb": {
    "r": 138,
    "g": 59,
    "b": 206
  },
  "hsl": {
    "h": 272.245,
    "s": 60,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53278,
    "c": 0.21536,
    "h": 304.5
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#8A3BCE
secondary
#B0D392
accent
#E3458E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A3BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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