#8B3CC6#8B3CC6

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

Color values

HEX#8B3CC6
RGBrgb(139, 60, 198)
HSLhsl(274, 55%, 51%)
HSVhsv(274, 70%, 78%)
CMYKcmyk(29.8%, 69.7%, 0%, 22.4%)
CIE-LABlab(42.46, 57.12, -58.20)
CIE-LCHlch(42.46, 81.55, 314.46°)
OKLaboklab(52.92% 0.1236 -0.1651)
OKLCHoklch(52.92% 0.206 306.8)
XYZxyz(22.4542, 12.7982, 54.7025)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CC6 #77C63C
analogous
#463CC6 #8B3CC6 #C63CBC
triadic
#8B3CC6 #C68B3C #3CC68B
tetradic
#8B3CC6 #C6463C #77C63C #3CBCC6
square
#8B3CC6 #C6463C #77C63C #3CBCC6
split-complementary
#8B3CC6 #BCC63C #3CC646
monochromatic
#491F69 #6A2D98 #8B3CC6 #A76BD4 #C39BE2

Accessibility & contrast

On white

5.90
#8B3CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8B3CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CC6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CC6#FFFFFF#000000##FFFFFF
##8B3CC61.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#1065C3
Tritanopia (blue-blind)
#815B7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3cc6;
/* rgb */ color: rgb(139, 60, 198);
/* oklch */ color: oklch(52.9% 0.206 306.8);
Tailwind
colors: {
  custom: {
    50: '#b278d8',
    500: '#8b3cc6',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cc6;
$custom-light: #b278d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cc6",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 198
  },
  "hsl": {
    "h": 274.348,
    "s": 54.762,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.20627,
    "h": 306.8
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#8B3CC6
secondary
#AACE90
accent
#DE4A89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8B3CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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