#8C3BDE#8C3BDE

#8C3BDE is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.232 H 301.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8C3BDE
RGBrgb(140, 59, 222)
HSLhsl(270, 71%, 55%)
HSVhsv(270, 73%, 87%)
CMYKcmyk(36.9%, 73.4%, 0%, 12.9%)
CIE-LABlab(44.20, 63.25, -69.18)
CIE-LCHlch(44.20, 93.74, 312.44°)
OKLaboklab(54.74% 0.1217 -0.1974)
OKLCHoklch(54.74% 0.232 301.7)
XYZxyz(25.5608, 13.9772, 70.4443)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3BDE #8DDE3B
analogous
#3B3BDE #8C3BDE #DE3BDE
triadic
#8C3BDE #DE8C3B #3BDE8C
tetradic
#8C3BDE #DE3B3B #8DDE3B #3BDEDE
square
#8C3BDE #DE3B3B #8DDE3B #3BDEDE
split-complementary
#8C3BDE #DEDE3B #3BDE3B
monochromatic
#4F1788 #6D20BC #8C3BDE #AB6FE7 #C9A4F0

Accessibility & contrast

On white

5.53
#8C3BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8C3BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3BDE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3BDE#FFFFFF#000000##FFFFFF
##8C3BDE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#7A648A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8c3bde;
/* rgb */ color: rgb(140, 59, 222);
/* oklch */ color: oklch(54.7% 0.232 301.7);
Tailwind
colors: {
  custom: {
    50: '#b478e9',
    500: '#8c3bde',
    950: '#000000',
  },
}
SCSS
$custom: #8c3bde;
$custom-light: #b478e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3bde",
  "rgb": {
    "r": 140,
    "g": 59,
    "b": 222
  },
  "hsl": {
    "h": 269.816,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54738,
    "c": 0.23189,
    "h": 301.7
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#8C3BDE
secondary
#BBDD98
accent
#EE3A94
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8C3BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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