#8F36D4#8F36D4

#8F36D4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.8% C 0.228 H 305.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8F36D4
RGBrgb(143, 54, 212)
HSLhsl(274, 65%, 52%)
HSVhsv(274, 75%, 83%)
CMYKcmyk(32.5%, 74.5%, 0%, 16.9%)
CIE-LABlab(43.11, 63.54, -65.21)
CIE-LCHlch(43.11, 91.05, 314.26°)
OKLaboklab(53.82% 0.1323 -0.1856)
OKLCHoklch(53.82% 0.228 305.5)
XYZxyz(24.5279, 13.2316, 63.5364)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36D4 #7BD436
analogous
#4036D4 #8F36D4 #D436CA
triadic
#8F36D4 #D48F36 #36D48F
tetradic
#8F36D4 #D44036 #7BD436 #36CAD4
square
#8F36D4 #D44036 #7BD436 #36CAD4
split-complementary
#8F36D4 #CAD436 #36D440
monochromatic
#4E1976 #6F24A9 #8F36D4 #AB68DF #C79BEA

Accessibility & contrast

On white

5.76
#8F36D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8F36D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36D4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36D4#FFFFFF#000000##FFFFFF
##8F36D41.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#825D83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f36d4;
/* rgb */ color: rgb(143, 54, 212);
/* oklch */ color: oklch(53.8% 0.228 305.5);
Tailwind
colors: {
  custom: {
    50: '#b676e2',
    500: '#8f36d4',
    950: '#000000',
  },
}
SCSS
$custom: #8f36d4;
$custom-light: #b676e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36d4",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 212
  },
  "hsl": {
    "h": 273.797,
    "s": 64.754,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53816,
    "c": 0.22792,
    "h": 305.5
  },
  "luminance": 0.13231
}

Semantic roles & 50–950 ramp

primary
#8F36D4
secondary
#AFD590
accent
#E84089
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8F36D4

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

Preview Lab → · Contrast checker → · Palette generator →

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