#8F168E#8F168E

#8F168E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.198 H 328.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8F168E
RGBrgb(143, 22, 142)
HSLhsl(300, 73%, 32%)
HSVhsv(300, 85%, 56%)
CMYKcmyk(0%, 84.6%, 0.7%, 43.9%)
CIE-LABlab(34.74, 60.21, -37.13)
CIE-LCHlch(34.74, 70.74, 328.34°)
OKLaboklab(46.38% 0.1687 -0.103)
OKLCHoklch(46.38% 0.198 328.6)
XYZxyz(16.4969, 8.3677, 26.3322)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F168E #168F17
analogous
#54168F #8F168E #8F1651
triadic
#8F168E #8E8F16 #168E8F
tetradic
#8F168E #8F5416 #168F17 #16518F
square
#8F168E #8F5416 #168F17 #16518F
split-complementary
#8F168E #518F16 #168F54
monochromatic
#250625 #5A0E59 #8F168E #C41EC3 #E13EE0

Accessibility & contrast

On white

7.86
#8F168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F168E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F168E#FFFFFF#000000##FFFFFF
##8F168E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#942D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f168e;
/* rgb */ color: rgb(143, 22, 142);
/* oklch */ color: oklch(46.4% 0.198 328.6);
Tailwind
colors: {
  custom: {
    50: '#b466af',
    500: '#8f168e',
    950: '#000000',
  },
}
SCSS
$custom: #8f168e;
$custom-light: #b466af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f168e",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 300.496,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46383,
    "c": 0.19764,
    "h": 328.6
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#8F168E
secondary
#3FC140
accent
#F03938
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F168E

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

Preview Lab → · Contrast checker → · Palette generator →

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