#8D3BC2#8D3BC2

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

Color values

HEX#8D3BC2
RGBrgb(141, 59, 194)
HSLhsl(276, 53%, 50%)
HSVhsv(276, 70%, 76%)
CMYKcmyk(27.3%, 69.6%, 0%, 23.9%)
CIE-LABlab(42.29, 57.08, -56.14)
CIE-LCHlch(42.29, 80.06, 315.47°)
OKLaboklab(52.77% 0.1278 -0.159)
OKLCHoklch(52.77% 0.204 308.8)
XYZxyz(22.2841, 12.6861, 52.3032)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3BC2 #70C23B
analogous
#493BC2 #8D3BC2 #C23BB4
triadic
#8D3BC2 #C28D3B #3BC28D
tetradic
#8D3BC2 #C2493B #70C23B #3BB4C2
square
#8D3BC2 #C2493B #70C23B #3BB4C2
split-complementary
#8D3BC2 #B4C23B #3BC249
monochromatic
#491E64 #6B2D93 #8D3BC2 #A869D1 #C398E0

Accessibility & contrast

On white

5.94
#8D3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3BC2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3BC2#FFFFFF#000000##FFFFFF
##8D3BC21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#1D65BF
Tritanopia (blue-blind)
#85597A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d3bc2;
/* rgb */ color: rgb(141, 59, 194);
/* oklch */ color: oklch(52.8% 0.204 308.8);
Tailwind
colors: {
  custom: {
    50: '#b377d5',
    500: '#8d3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8d3bc2;
$custom-light: #b377d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3bc2",
  "rgb": {
    "r": 141,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 276.444,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.20401,
    "h": 308.8
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#8D3BC2
secondary
#A6CB8E
accent
#DD4B84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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