#8F308A#8F308A

#8F308A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.167 H 330.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8F308A
RGBrgb(143, 48, 138)
HSLhsl(303, 50%, 37%)
HSVhsv(303, 66%, 56%)
CMYKcmyk(0%, 66.4%, 3.5%, 43.9%)
CIE-LABlab(37.46, 51.12, -30.35)
CIE-LCHlch(37.46, 59.45, 329.30°)
OKLaboklab(48.26% 0.1446 -0.0835)
OKLCHoklch(48.26% 0.167 330)
XYZxyz(16.9720, 9.7897, 25.0355)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F308A #308F35
analogous
#65308F #8F308A #8F305A
triadic
#8F308A #8A8F30 #308A8F
tetradic
#8F308A #8F6530 #308F35 #305A8F
square
#8F308A #8F6530 #308F35 #305A8F
split-complementary
#8F308A #5A8F30 #308F65
monochromatic
#331132 #61215E #8F308A #BD3FB6 #CE6CC8

Accessibility & contrast

On white

7.10
#8F308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8F308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F308A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F308A#FFFFFF#000000##FFFFFF
##8F308A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#943B59
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f308a;
/* rgb */ color: rgb(143, 48, 138);
/* oklch */ color: oklch(48.3% 0.167 330.0);
Tailwind
colors: {
  custom: {
    50: '#b370ac',
    500: '#8f308a',
    950: '#000000',
  },
}
SCSS
$custom: #8f308a;
$custom-light: #b370ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f308a",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 303.158,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48262,
    "c": 0.16699,
    "h": 330
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#8F308A
secondary
#66B56A
accent
#D9564F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F308A

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

Preview Lab → · Contrast checker → · Palette generator →

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