#8F36D9#8F36D9

#8F36D9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.2% C 0.233 H 304.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8F36D9
RGBrgb(143, 54, 217)
HSLhsl(273, 68%, 53%)
HSVhsv(273, 75%, 85%)
CMYKcmyk(34.1%, 75.1%, 0%, 14.9%)
CIE-LABlab(43.49, 64.66, -67.47)
CIE-LCHlch(43.49, 93.45, 313.78°)
OKLaboklab(54.2% 0.1313 -0.1922)
OKLCHoklch(54.2% 0.233 304.3)
XYZxyz(25.1684, 13.4878, 66.9097)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36D9 #80D936
analogous
#3D36D9 #8F36D9 #D936D1
triadic
#8F36D9 #D98F36 #36D98F
tetradic
#8F36D9 #D93D36 #80D936 #36D1D9
square
#8F36D9 #D93D36 #80D936 #36D1D9
split-complementary
#8F36D9 #D1D936 #36D93D
monochromatic
#4F187D #6F21B0 #8F36D9 #AC69E3 #C89DEC

Accessibility & contrast

On white

5.68
#8F36D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8F36D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36D9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36D9#FFFFFF#000000##FFFFFF
##8F36D91.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#815F86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f36d9;
/* rgb */ color: rgb(143, 54, 217);
/* oklch */ color: oklch(54.2% 0.233 304.3);
Tailwind
colors: {
  custom: {
    50: '#b676e6',
    500: '#8f36d9',
    950: '#000000',
  },
}
SCSS
$custom: #8f36d9;
$custom-light: #b676e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36d9",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 272.761,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54201,
    "c": 0.23274,
    "h": 304.3
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#8F36D9
secondary
#B2D992
accent
#EB3D8C
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F36D9

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

Preview Lab → · Contrast checker → · Palette generator →

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