#8B3CC2#8B3CC2

#8B3CC2 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.202 H 307.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8B3CC2
RGBrgb(139, 60, 194)
HSLhsl(275, 53%, 50%)
HSVhsv(275, 69%, 76%)
CMYKcmyk(28.4%, 69.1%, 0%, 23.9%)
CIE-LABlab(42.18, 56.22, -56.33)
CIE-LCHlch(42.18, 79.58, 314.94°)
OKLaboklab(52.63% 0.1241 -0.1596)
OKLCHoklch(52.63% 0.202 307.9)
XYZxyz(21.9989, 12.6160, 52.3047)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CC2 #73C23C
analogous
#483CC2 #8B3CC2 #C23CB6
triadic
#8B3CC2 #C28B3C #3CC28B
tetradic
#8B3CC2 #C2483C #73C23C #3CB6C2
square
#8B3CC2 #C2483C #73C23C #3CB6C2
split-complementary
#8B3CC2 #B6C23C #3CC248
monochromatic
#481F65 #6A2E93 #8B3CC2 #A76AD1 #C399DF

Accessibility & contrast

On white

5.96
#8B3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8B3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CC2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CC2#FFFFFF#000000##FFFFFF
##8B3CC21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#1B64BF
Tritanopia (blue-blind)
#825A7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3cc2;
/* rgb */ color: rgb(139, 60, 194);
/* oklch */ color: oklch(52.6% 0.202 307.9);
Tailwind
colors: {
  custom: {
    50: '#b178d5',
    500: '#8b3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cc2;
$custom-light: #b178d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cc2",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 275.373,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.2022,
    "h": 307.9
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#8B3CC2
secondary
#A7CB8F
accent
#DC4C87
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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