#8C3BB2#8C3BB2

#8C3BB2 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.188 H 313.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8C3BB2
RGBrgb(140, 59, 178)
HSLhsl(281, 50%, 46%)
HSVhsv(281, 67%, 70%)
CMYKcmyk(21.3%, 66.9%, 0%, 30.2%)
CIE-LABlab(41.09, 53.37, -48.69)
CIE-LCHlch(41.09, 72.25, 317.63°)
OKLaboklab(51.54% 0.128 -0.1372)
OKLCHoklch(51.54% 0.188 313)
XYZxyz(20.4137, 11.9183, 43.3360)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3BB2 #61B23B
analogous
#513BB2 #8C3BB2 #B23B9D
triadic
#8C3BB2 #B28C3B #3BB28C
tetradic
#8C3BB2 #B2513B #61B23B #3B9DB2
square
#8C3BB2 #B2513B #61B23B #3B9DB2
split-complementary
#8C3BB2 #9DB23B #3BB251
monochromatic
#441D56 #682C84 #8C3BB2 #A860CA #C18EDA

Accessibility & contrast

On white

6.21
#8C3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8C3BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3BB2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3BB2#FFFFFF#000000##FFFFFF
##8C3BB21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3263AF
Tritanopia (blue-blind)
#885372
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8c3bb2;
/* rgb */ color: rgb(140, 59, 178);
/* oklch */ color: oklch(51.5% 0.188 313.0);
Tailwind
colors: {
  custom: {
    50: '#b177ca',
    500: '#8c3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8c3bb2;
$custom-light: #b177ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3bb2",
  "rgb": {
    "r": 140,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 280.84,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.18764,
    "h": 313
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#8C3BB2
secondary
#99C485
accent
#DA4E7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8C3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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