#8F36DA#8F36DA

#8F36DA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.3% C 0.234 H 304.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8F36DA
RGBrgb(143, 54, 218)
HSLhsl(273, 69%, 53%)
HSVhsv(273, 75%, 85%)
CMYKcmyk(34.4%, 75.2%, 0%, 14.5%)
CIE-LABlab(43.57, 64.88, -67.92)
CIE-LCHlch(43.57, 93.93, 313.69°)
OKLaboklab(54.28% 0.1311 -0.1935)
OKLCHoklch(54.28% 0.234 304.1)
XYZxyz(25.2988, 13.5400, 67.5968)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F36DA #81DA36
analogous
#3D36DA #8F36DA #DA36D3
triadic
#8F36DA #DA8F36 #36DA8F
tetradic
#8F36DA #DA3D36 #81DA36 #36D3DA
square
#8F36DA #DA3D36 #81DA36 #36D3DA
split-complementary
#8F36DA #D3DA36 #36DA3D
monochromatic
#4F177E #7021B2 #8F36DA #AC6AE4 #C99DED

Accessibility & contrast

On white

5.66
#8F36DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8F36DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F36DA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F36DA#FFFFFF#000000##FFFFFF
##8F36DA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#806086
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f36da;
/* rgb */ color: rgb(143, 54, 218);
/* oklch */ color: oklch(54.3% 0.234 304.1);
Tailwind
colors: {
  custom: {
    50: '#b676e6',
    500: '#8f36da',
    950: '#000000',
  },
}
SCSS
$custom: #8f36da;
$custom-light: #b676e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f36da",
  "rgb": {
    "r": 143,
    "g": 54,
    "b": 218
  },
  "hsl": {
    "h": 272.561,
    "s": 68.908,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54279,
    "c": 0.23371,
    "h": 304.1
  },
  "luminance": 0.1354
}

Semantic roles & 50–950 ramp

primary
#8F36DA
secondary
#B3D993
accent
#EC3C8C
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F36DA

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

Preview Lab → · Contrast checker → · Palette generator →

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