#8F307C#8F307C

#8F307C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.156 H 336.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8F307C
RGBrgb(143, 48, 124)
HSLhsl(312, 50%, 37%)
HSVhsv(312, 66%, 56%)
CMYKcmyk(0%, 66.4%, 13.3%, 43.9%)
CIE-LABlab(36.76, 48.79, -22.79)
CIE-LCHlch(36.76, 53.85, 334.96°)
OKLaboklab(47.53% 0.143 -0.0619)
OKLCHoklch(47.53% 0.156 336.6)
XYZxyz(16.0230, 9.4101, 20.0373)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F307C #308F43
analogous
#72308F #8F307C #8F304D
triadic
#8F307C #7C8F30 #307C8F
tetradic
#8F307C #8F7230 #308F43 #304D8F
square
#8F307C #8F7230 #308F43 #304D8F
split-complementary
#8F307C #4D8F30 #308F72
monochromatic
#33112D #612154 #8F307C #BD3FA4 #CE6CBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F307C#FFFFFF#000000##FFFFFF
##8F307C1.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)
#324D7E
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#963551
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f307c;
/* rgb */ color: rgb(143, 48, 124);
/* oklch */ color: oklch(47.5% 0.156 336.6);
Tailwind
colors: {
  custom: {
    50: '#b370a2',
    500: '#8f307c',
    950: '#000000',
  },
}
SCSS
$custom: #8f307c;
$custom-light: #b370a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f307c",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 312,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47526,
    "c": 0.1558,
    "h": 336.6
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#8F307C
secondary
#66B576
accent
#D96A4F
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8F307C

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

Preview Lab → · Contrast checker → · Palette generator →

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