#8B3CC4#8B3CC4

#8B3CC4 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.204 H 307.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8B3CC4
RGBrgb(139, 60, 196)
HSLhsl(275, 54%, 50%)
HSVhsv(275, 69%, 77%)
CMYKcmyk(29.1%, 69.4%, 0%, 23.1%)
CIE-LABlab(42.32, 56.67, -57.27)
CIE-LCHlch(42.32, 80.57, 314.70°)
OKLaboklab(52.78% 0.1239 -0.1624)
OKLCHoklch(52.78% 0.204 307.3)
XYZxyz(22.2250, 12.7065, 53.4956)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CC4 #75C43C
analogous
#473CC4 #8B3CC4 #C43CB9
triadic
#8B3CC4 #C48B3C #3CC48B
tetradic
#8B3CC4 #C4473C #75C43C #3CB9C4
square
#8B3CC4 #C4473C #75C43C #3CB9C4
split-complementary
#8B3CC4 #B9C43C #3CC447
monochromatic
#491F67 #6A2D96 #8B3CC4 #A76BD2 #C39AE0

Accessibility & contrast

On white

5.93
#8B3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8B3CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CC4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CC4#FFFFFF#000000##FFFFFF
##8B3CC41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#1665C1
Tritanopia (blue-blind)
#825A7C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b3cc4;
/* rgb */ color: rgb(139, 60, 196);
/* oklch */ color: oklch(52.8% 0.204 307.3);
Tailwind
colors: {
  custom: {
    50: '#b178d7',
    500: '#8b3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cc4;
$custom-light: #b178d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cc4",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 274.853,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.20423,
    "h": 307.3
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#8B3CC4
secondary
#A9CC90
accent
#DD4B88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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