#8F2794#8F2794

#8F2794 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.186 H 326.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8F2794
RGBrgb(143, 39, 148)
HSLhsl(297, 58%, 37%)
HSVhsv(297, 74%, 58%)
CMYKcmyk(3.4%, 73.6%, 0%, 42%)
CIE-LABlab(36.80, 56.31, -37.52)
CIE-LCHlch(36.80, 67.67, 326.32°)
OKLaboklab(47.97% 0.1546 -0.1043)
OKLCHoklch(47.97% 0.186 326)
XYZxyz(17.3982, 9.4300, 28.9150)
Luminance0.0943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2794 #2C9427
analogous
#592794 #8F2794 #942763
triadic
#8F2794 #948F27 #27948F
tetradic
#8F2794 #945927 #2C9427 #276394
square
#8F2794 #945927 #2C9427 #276394
split-complementary
#8F2794 #639427 #279459
monochromatic
#310D33 #601A64 #8F2794 #BE34C4 #D060D5

Accessibility & contrast

On white

7.28
#8F2794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8F2794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2794
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2794#FFFFFF#000000##FFFFFF
##8F27941.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E97
Deuteranopia (green-blind)
#405B91
Tritanopia (blue-blind)
#93395B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2794;
/* rgb */ color: rgb(143, 39, 148);
/* oklch */ color: oklch(48.0% 0.186 326.0);
Tailwind
colors: {
  custom: {
    50: '#b36cb4',
    500: '#8f2794',
    950: '#000000',
  },
}
SCSS
$custom: #8f2794;
$custom-light: #b36cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2794",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 297.248,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47966,
    "c": 0.18649,
    "h": 326
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#8F2794
secondary
#61BB5C
accent
#E2464D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2794

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

Preview Lab → · Contrast checker → · Palette generator →

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