#8F1790#8F1790

#8F1790 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.198 H 327.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8F1790
RGBrgb(143, 23, 144)
HSLhsl(300, 72%, 33%)
HSVhsv(300, 84%, 56%)
CMYKcmyk(0.7%, 84%, 0%, 43.5%)
CIE-LABlab(34.94, 60.31, -38.04)
CIE-LCHlch(34.94, 71.30, 327.76°)
OKLaboklab(46.56% 0.1679 -0.1057)
OKLCHoklch(46.56% 0.198 327.8)
XYZxyz(16.6679, 8.4673, 27.1366)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1790 #189017
analogous
#521790 #8F1790 #901755
triadic
#8F1790 #908F17 #17908F
tetradic
#8F1790 #905217 #189017 #175590
square
#8F1790 #905217 #189017 #175590
split-complementary
#8F1790 #559017 #179052
monochromatic
#260626 #5B0F5B #8F1790 #C31FC5 #DF41E1

Accessibility & contrast

On white

7.80
#8F1790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F1790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1790
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1790#FFFFFF#000000##FFFFFF
##8F17901.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#3C578D
Tritanopia (blue-blind)
#942E56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f1790;
/* rgb */ color: rgb(143, 23, 144);
/* oklch */ color: oklch(46.6% 0.198 327.8);
Tailwind
colors: {
  custom: {
    50: '#b466b1',
    500: '#8f1790',
    950: '#000000',
  },
}
SCSS
$custom: #8f1790;
$custom-light: #b466b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1790",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 299.504,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46564,
    "c": 0.19839,
    "h": 327.8
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#8F1790
secondary
#43C142
accent
#EF393A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1790

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

Preview Lab → · Contrast checker → · Palette generator →

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