#8C3BC1#8C3BC1

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

Color values

HEX#8C3BC1
RGBrgb(140, 59, 193)
HSLhsl(276, 53%, 49%)
HSVhsv(276, 69%, 76%)
CMYKcmyk(27.5%, 69.4%, 0%, 24.3%)
CIE-LABlab(42.08, 56.65, -55.89)
CIE-LCHlch(42.08, 79.58, 315.39°)
OKLaboklab(52.57% 0.1266 -0.1583)
OKLCHoklch(52.57% 0.203 308.7)
XYZxyz(22.0029, 12.5540, 51.7058)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3BC1 #70C13B
analogous
#493BC1 #8C3BC1 #C13BB3
triadic
#8C3BC1 #C18C3B #3BC18C
tetradic
#8C3BC1 #C1493B #70C13B #3BB3C1
square
#8C3BC1 #C1493B #70C13B #3BB3C1
split-complementary
#8C3BC1 #B3C13B #3BC149
monochromatic
#481E63 #6A2D92 #8C3BC1 #A868D1 #C397DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C3BC1#FFFFFF#000000##FFFFFF
##8C3BC11.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)
#84597A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8c3bc1;
/* rgb */ color: rgb(140, 59, 193);
/* oklch */ color: oklch(52.6% 0.203 308.7);
Tailwind
colors: {
  custom: {
    50: '#b277d4',
    500: '#8c3bc1',
    950: '#000000',
  },
}
SCSS
$custom: #8c3bc1;
$custom-light: #b277d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3bc1",
  "rgb": {
    "r": 140,
    "g": 59,
    "b": 193
  },
  "hsl": {
    "h": 276.269,
    "s": 53.175,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52572,
    "c": 0.20272,
    "h": 308.7
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#8C3BC1
secondary
#A5CB8D
accent
#DD4B85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C3BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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