#8C3DBF#8C3DBF

#8C3DBF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.7% C 0.198 H 309.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8C3DBF
RGBrgb(140, 61, 191)
HSLhsl(276, 52%, 49%)
HSVhsv(276, 68%, 75%)
CMYKcmyk(26.7%, 68.1%, 0%, 25.1%)
CIE-LABlab(42.27, 55.30, -54.42)
CIE-LCHlch(42.27, 77.59, 315.46°)
OKLaboklab(52.66% 0.1247 -0.154)
OKLCHoklch(52.66% 0.198 309)
XYZxyz(21.8860, 12.6749, 50.5737)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3DBF #70BF3D
analogous
#4B3DBF #8C3DBF #BF3DB1
triadic
#8C3DBF #BF8C3D #3DBF8C
tetradic
#8C3DBF #BF4B3D #70BF3D #3DB1BF
square
#8C3DBF #BF4B3D #70BF3D #3DB1BF
split-complementary
#8C3DBF #B1BF3D #3DBF4B
monochromatic
#481F62 #6A2E91 #8C3DBF #A86ACF #C398DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C3DBF#FFFFFF#000000##FFFFFF
##8C3DBF1.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)
#0061C3
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#845979
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8c3dbf;
/* rgb */ color: rgb(140, 61, 191);
/* oklch */ color: oklch(52.7% 0.198 309.0);
Tailwind
colors: {
  custom: {
    50: '#b278d3',
    500: '#8c3dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8c3dbf;
$custom-light: #b278d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3dbf",
  "rgb": {
    "r": 140,
    "g": 61,
    "b": 191
  },
  "hsl": {
    "h": 276.462,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52662,
    "c": 0.19816,
    "h": 309
  },
  "luminance": 0.12675
}

Semantic roles & 50–950 ramp

primary
#8C3DBF
secondary
#A5CA8E
accent
#DB4D85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C3DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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