#8F37A2#8F37A2

#8F37A2 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.4% C 0.179 H 320.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8F37A2
RGBrgb(143, 55, 162)
HSLhsl(289, 49%, 43%)
HSVhsv(289, 66%, 64%)
CMYKcmyk(11.7%, 66%, 0%, 36.5%)
CIE-LABlab(39.88, 52.57, -41.07)
CIE-LCHlch(39.88, 66.71, 322.00°)
OKLaboklab(50.45% 0.1371 -0.1147)
OKLCHoklch(50.45% 0.179 320.1)
XYZxyz(19.2147, 11.1816, 35.3216)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F37A2 #4AA237
analogous
#5A37A2 #8F37A2 #A2377F
triadic
#8F37A2 #A28F37 #37A28F
tetradic
#8F37A2 #A25A37 #4AA237 #377FA2
square
#8F37A2 #A25A37 #4AA237 #377FA2
split-complementary
#8F37A2 #7FA237 #37A25A
monochromatic
#3E1847 #672774 #8F37A2 #B052C4 #C580D4

Accessibility & contrast

On white

6.49
#8F37A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8F37A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F37A2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F37A2#FFFFFF#000000##FFFFFF
##8F37A21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#40619F
Tritanopia (blue-blind)
#904968
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f37a2;
/* rgb */ color: rgb(143, 55, 162);
/* oklch */ color: oklch(50.4% 0.179 320.1);
Tailwind
colors: {
  custom: {
    50: '#b374be',
    500: '#8f37a2',
    950: '#000000',
  },
}
SCSS
$custom: #8f37a2;
$custom-light: #b374be;
$custom-dark: #000000;
JSON
{
  "hex": "#8f37a2",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 289.346,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.17874,
    "h": 320.1
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#8F37A2
secondary
#84BD78
accent
#D94F67
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8F37A2

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

Preview Lab → · Contrast checker → · Palette generator →

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