#8F2593#8F2593

#8F2593 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.188 H 326.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8F2593
RGBrgb(143, 37, 147)
HSLhsl(298, 60%, 36%)
HSVhsv(298, 75%, 58%)
CMYKcmyk(2.7%, 74.8%, 0%, 42.4%)
CIE-LABlab(36.50, 56.82, -37.39)
CIE-LCHlch(36.50, 68.02, 326.66°)
OKLaboklab(47.73% 0.1566 -0.1039)
OKLCHoklch(47.73% 0.188 326.4)
XYZxyz(17.2554, 9.2705, 28.4787)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2593 #299325
analogous
#582593 #8F2593 #932560
triadic
#8F2593 #938F25 #25938F
tetradic
#8F2593 #935825 #299325 #256093
square
#8F2593 #935825 #299325 #256093
split-complementary
#8F2593 #609325 #259358
monochromatic
#300C31 #5F1962 #8F2593 #BF31C4 #D25CD6

Accessibility & contrast

On white

7.36
#8F2593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8F2593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2593
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2593#FFFFFF#000000##FFFFFF
##8F25931.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054D96
Deuteranopia (green-blind)
#3F5A90
Tritanopia (blue-blind)
#93375A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2593;
/* rgb */ color: rgb(143, 37, 147);
/* oklch */ color: oklch(47.7% 0.188 326.4);
Tailwind
colors: {
  custom: {
    50: '#b36bb3',
    500: '#8f2593',
    950: '#000000',
  },
}
SCSS
$custom: #8f2593;
$custom-light: #b36bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2593",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 297.818,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.18788,
    "h": 326.4
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#8F2593
secondary
#5CBB59
accent
#E3454B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2593

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

Preview Lab → · Contrast checker → · Palette generator →

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