#8C3EBF#8C3EBF

#8C3EBF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.8% C 0.197 H 308.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8C3EBF
RGBrgb(140, 62, 191)
HSLhsl(276, 51%, 50%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(26.7%, 67.5%, 0%, 25.1%)
CIE-LABlab(42.43, 54.84, -54.16)
CIE-LCHlch(42.43, 77.08, 315.36°)
OKLaboklab(52.78% 0.1236 -0.1532)
OKLCHoklch(52.78% 0.197 308.9)
XYZxyz(21.9399, 12.7827, 50.5916)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3EBF #71BF3E
analogous
#4C3EBF #8C3EBF #BF3EB2
triadic
#8C3EBF #BF8C3E #3EBF8C
tetradic
#8C3EBF #BF4C3E #71BF3E #3EB2BF
square
#8C3EBF #BF4C3E #71BF3E #3EB2BF
split-complementary
#8C3EBF #B2BF3E #3EBF4C
monochromatic
#482063 #6A2F91 #8C3EBF #A86BCF #C399DE

Accessibility & contrast

On white

5.90
#8C3EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8C3EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3EBF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3EBF#FFFFFF#000000##FFFFFF
##8C3EBF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#845A79
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c3ebf;
/* rgb */ color: rgb(140, 62, 191);
/* oklch */ color: oklch(52.8% 0.197 308.9);
Tailwind
colors: {
  custom: {
    50: '#b279d3',
    500: '#8c3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #8c3ebf;
$custom-light: #b279d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3ebf",
  "rgb": {
    "r": 140,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 276.279,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5278,
    "c": 0.19687,
    "h": 308.9
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#8C3EBF
secondary
#A6CA8F
accent
#DA4D85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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