#8F36C0#8F36C0

#8F36C0 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.209 H 310.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8F36C0
RGBrgb(143, 54, 192)
HSLhsl(279, 56%, 48%)
HSVhsv(279, 72%, 75%)
CMYKcmyk(25.5%, 71.9%, 0%, 24.7%)
CIE-LABlab(41.66, 59.18, -55.96)
CIE-LCHlch(41.66, 81.45, 316.60°)
OKLaboklab(52.34% 0.1358 -0.1584)
OKLCHoklch(52.34% 0.209 310.6)
XYZxyz(22.1595, 12.2843, 51.0627)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36C0 #67C036
analogous
#4A36C0 #8F36C0 #C036AC
triadic
#8F36C0 #C08F36 #36C08F
tetradic
#8F36C0 #C04A36 #67C036 #36ACC0
square
#8F36C0 #C04A36 #67C036 #36ACC0
split-complementary
#8F36C0 #ACC036 #36C04A
monochromatic
#481B60 #6B2990 #8F36C0 #AA61D2 #C490E0

Accessibility & contrast

On white

6.07
#8F36C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8F36C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36C0
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36C0#FFFFFF#000000##FFFFFF
##8F36C01.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#1D64BD
Tritanopia (blue-blind)
#885578
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f36c0;
/* rgb */ color: rgb(143, 54, 192);
/* oklch */ color: oklch(52.3% 0.209 310.6);
Tailwind
colors: {
  custom: {
    50: '#b475d4',
    500: '#8f36c0',
    950: '#000000',
  },
}
SCSS
$custom: #8f36c0;
$custom-light: #b475d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36c0",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 278.696,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.20864,
    "h": 310.6
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#8F36C0
secondary
#9FCB87
accent
#DF487E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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