#8F2793#8F2793

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

Color values

HEX#8F2793
RGBrgb(143, 39, 147)
HSLhsl(298, 58%, 36%)
HSVhsv(298, 73%, 58%)
CMYKcmyk(2.7%, 73.5%, 0%, 42.4%)
CIE-LABlab(36.74, 56.14, -37.00)
CIE-LCHlch(36.74, 67.24, 326.61°)
OKLaboklab(47.91% 0.1546 -0.1028)
OKLCHoklch(47.91% 0.186 326.4)
XYZxyz(17.3193, 9.3984, 28.5000)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2793 #2B9327
analogous
#592793 #8F2793 #932761
triadic
#8F2793 #938F27 #27938F
tetradic
#8F2793 #935927 #2B9327 #276193
square
#8F2793 #935927 #2B9327 #276193
split-complementary
#8F2793 #619327 #279359
monochromatic
#310D32 #601A63 #8F2793 #BE34C3 #D060D5

Accessibility & contrast

On white

7.29
#8F2793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8F2793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2793
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2793#FFFFFF#000000##FFFFFF
##8F27931.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4E96
Deuteranopia (green-blind)
#405B90
Tritanopia (blue-blind)
#93395B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2793;
/* rgb */ color: rgb(143, 39, 147);
/* oklch */ color: oklch(47.9% 0.186 326.4);
Tailwind
colors: {
  custom: {
    50: '#b36cb3',
    500: '#8f2793',
    950: '#000000',
  },
}
SCSS
$custom: #8f2793;
$custom-light: #b36cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2793",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 297.778,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.18567,
    "h": 326.4
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#8F2793
secondary
#5FBA5C
accent
#E1474C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2793

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

Preview Lab → · Contrast checker → · Palette generator →

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