#8F2594#8F2594

#8F2594 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.189 H 326.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8F2594
RGBrgb(143, 37, 148)
HSLhsl(297, 60%, 36%)
HSVhsv(297, 75%, 58%)
CMYKcmyk(3.4%, 75%, 0%, 42%)
CIE-LABlab(36.56, 57.00, -37.90)
CIE-LCHlch(36.56, 68.45, 326.38°)
OKLaboklab(47.8% 0.1565 -0.1054)
OKLCHoklch(47.8% 0.189 326.1)
XYZxyz(17.3342, 9.3021, 28.8937)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2594 #2A9425
analogous
#582594 #8F2594 #942562
triadic
#8F2594 #948F25 #25948F
tetradic
#8F2594 #945825 #2A9425 #256294
square
#8F2594 #945825 #2A9425 #256294
split-complementary
#8F2594 #629425 #259458
monochromatic
#300D32 #601963 #8F2594 #BE31C5 #D15DD6

Accessibility & contrast

On white

7.34
#8F2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F2594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2594
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2594#FFFFFF#000000##FFFFFF
##8F25941.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024E97
Deuteranopia (green-blind)
#3F5A91
Tritanopia (blue-blind)
#93385B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2594;
/* rgb */ color: rgb(143, 37, 148);
/* oklch */ color: oklch(47.8% 0.189 326.1);
Tailwind
colors: {
  custom: {
    50: '#b36bb4',
    500: '#8f2594',
    950: '#000000',
  },
}
SCSS
$custom: #8f2594;
$custom-light: #b36bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2594",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 297.297,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47795,
    "c": 0.18869,
    "h": 326.1
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#8F2594
secondary
#5EBB59
accent
#E3454C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2594

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

Preview Lab → · Contrast checker → · Palette generator →

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