#8C3BD5#8C3BD5

#8C3BD5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.223 H 303.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8C3BD5
RGBrgb(140, 59, 213)
HSLhsl(272, 65%, 53%)
HSVhsv(272, 72%, 84%)
CMYKcmyk(34.3%, 72.3%, 0%, 16.5%)
CIE-LABlab(43.52, 61.17, -65.14)
CIE-LCHlch(43.52, 89.36, 313.20°)
OKLaboklab(54.04% 0.1235 -0.1855)
OKLCHoklch(54.04% 0.223 303.7)
XYZxyz(24.3866, 13.5075, 64.2603)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3BD5 #84D53B
analogous
#3F3BD5 #8C3BD5 #D53BD1
triadic
#8C3BD5 #D58C3B #3BD58C
tetradic
#8C3BD5 #D53F3B #84D53B #3BD1D5
square
#8C3BD5 #D53F3B #84D53B #3BD1D5
split-complementary
#8C3BD5 #D1D53B #3BD53F
monochromatic
#4D1A7B #6D25AE #8C3BD5 #AA6DE0 #C7A0EB

Accessibility & contrast

On white

5.67
#8C3BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8C3BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3BD5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3BD5#FFFFFF#000000##FFFFFF
##8C3BD51.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#0067D2
Tritanopia (blue-blind)
#7E6185
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c3bd5;
/* rgb */ color: rgb(140, 59, 213);
/* oklch */ color: oklch(54.0% 0.223 303.7);
Tailwind
colors: {
  custom: {
    50: '#b378e3',
    500: '#8c3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #8c3bd5;
$custom-light: #b378e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3bd5",
  "rgb": {
    "r": 140,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 271.558,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54044,
    "c": 0.22285,
    "h": 303.7
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#8C3BD5
secondary
#B4D795
accent
#E84090
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8C3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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