#8F36BE#8F36BE

#8F36BE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.207 H 311.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8F36BE
RGBrgb(143, 54, 190)
HSLhsl(279, 56%, 48%)
HSVhsv(279, 72%, 75%)
CMYKcmyk(24.7%, 71.6%, 0%, 25.5%)
CIE-LABlab(41.53, 58.75, -55.02)
CIE-LCHlch(41.53, 80.49, 316.88°)
OKLaboklab(52.2% 0.1361 -0.1556)
OKLCHoklch(52.2% 0.207 311.2)
XYZxyz(21.9394, 12.1962, 49.9036)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36BE #65BE36
analogous
#4B36BE #8F36BE #BE36A9
triadic
#8F36BE #BE8F36 #36BE8F
tetradic
#8F36BE #BE4B36 #65BE36 #36A9BE
square
#8F36BE #BE4B36 #65BE36 #36A9BE
split-complementary
#8F36BE #A9BE36 #36BE4B
monochromatic
#471B5F #6B288E #8F36BE #AA60D2 #C48FDF

Accessibility & contrast

On white

6.11
#8F36BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8F36BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36BE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36BE#FFFFFF#000000##FFFFFF
##8F36BE1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#2164BB
Tritanopia (blue-blind)
#895477
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8f36be;
/* rgb */ color: rgb(143, 54, 190);
/* oklch */ color: oklch(52.2% 0.207 311.2);
Tailwind
colors: {
  custom: {
    50: '#b475d2',
    500: '#8f36be',
    950: '#000000',
  },
}
SCSS
$custom: #8f36be;
$custom-light: #b475d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36be",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 279.265,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.20672,
    "h": 311.2
  },
  "luminance": 0.12196
}

Semantic roles & 50–950 ramp

primary
#8F36BE
secondary
#9DCA86
accent
#DF497D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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