#8F3175#8F3175

#8F3175 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.149 H 340.3°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8F3175
RGBrgb(143, 49, 117)
HSLhsl(317, 49%, 38%)
HSVhsv(317, 66%, 56%)
CMYKcmyk(0%, 65.7%, 18.2%, 43.9%)
CIE-LABlab(36.60, 47.26, -18.68)
CIE-LCHlch(36.60, 50.82, 338.44°)
OKLaboklab(47.3% 0.1405 -0.0503)
OKLCHoklch(47.3% 0.149 340.3)
XYZxyz(15.6373, 9.3220, 17.8019)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3175 #318F4B
analogous
#7A318F #8F3175 #8F3146
triadic
#8F3175 #758F31 #31758F
tetradic
#8F3175 #8F7A31 #318F4B #31468F
square
#8F3175 #8F7A31 #318F4B #31468F
split-complementary
#8F3175 #468F31 #318F7A
monochromatic
#34122A #612150 #8F3175 #BD419A #CD6DB3

Accessibility & contrast

On white

7.33
#8F3175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F3175
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3175#FFFFFF#000000##FFFFFF
##8F31751.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D77
Deuteranopia (green-blind)
#535C73
Tritanopia (blue-blind)
#97334E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f3175;
/* rgb */ color: rgb(143, 49, 117);
/* oklch */ color: oklch(47.3% 0.149 340.3);
Tailwind
colors: {
  custom: {
    50: '#b3709d',
    500: '#8f3175',
    950: '#000000',
  },
}
SCSS
$custom: #8f3175;
$custom-light: #b3709d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3175",
  "rgb": {
    "r": 143,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 316.596,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.473,
    "c": 0.14918,
    "h": 340.3
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#8F3175
secondary
#67B57D
accent
#D9754F
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8F3175

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

Preview Lab → · Contrast checker → · Palette generator →

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