#8B3CC1#8B3CC1

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

Color values

HEX#8B3CC1
RGBrgb(139, 60, 193)
HSLhsl(276, 53%, 50%)
HSVhsv(276, 69%, 76%)
CMYKcmyk(28%, 68.9%, 0%, 24.3%)
CIE-LABlab(42.11, 55.99, -55.86)
CIE-LCHlch(42.11, 79.09, 315.07°)
OKLaboklab(52.56% 0.1243 -0.1582)
OKLCHoklch(52.56% 0.201 308.1)
XYZxyz(21.8870, 12.5713, 51.7152)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3CC1 #72C13C
analogous
#493CC1 #8B3CC1 #C13CB5
triadic
#8B3CC1 #C18B3C #3CC18B
tetradic
#8B3CC1 #C1493C #72C13C #3CB5C1
square
#8B3CC1 #C1493C #72C13C #3CB5C1
split-complementary
#8B3CC1 #B5C13C #3CC149
monochromatic
#481F64 #692D92 #8B3CC1 #A76AD1 #C298DF

Accessibility & contrast

On white

5.98
#8B3CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8B3CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3CC1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3CC1#FFFFFF#000000##FFFFFF
##8B3CC11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#1D64BE
Tritanopia (blue-blind)
#83597A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8b3cc1;
/* rgb */ color: rgb(139, 60, 193);
/* oklch */ color: oklch(52.6% 0.201 308.1);
Tailwind
colors: {
  custom: {
    50: '#b178d4',
    500: '#8b3cc1',
    950: '#000000',
  },
}
SCSS
$custom: #8b3cc1;
$custom-light: #b178d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3cc1",
  "rgb": {
    "r": 139,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 275.639,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.20118,
    "h": 308.1
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#8B3CC1
secondary
#A7CB8E
accent
#DC4C86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8B3CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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