#8F308E#8F308E

#8F308E is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.170 H 328.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8F308E
RGBrgb(143, 48, 142)
HSLhsl(301, 50%, 37%)
HSVhsv(301, 66%, 56%)
CMYKcmyk(0%, 66.4%, 0.7%, 43.9%)
CIE-LABlab(37.68, 51.82, -32.46)
CIE-LCHlch(37.68, 61.15, 327.93°)
OKLaboklab(48.49% 0.1449 -0.0897)
OKLCHoklch(48.49% 0.17 328.2)
XYZxyz(17.2669, 9.9077, 26.5889)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F308E #308F31
analogous
#61308F #8F308E #8F305E
triadic
#8F308E #8E8F30 #308E8F
tetradic
#8F308E #8F6130 #308F31 #305E8F
square
#8F308E #8F6130 #308F31 #305E8F
split-complementary
#8F308E #5E8F30 #308F61
monochromatic
#331133 #612161 #8F308E #BD3FBB #CE6CCD

Accessibility & contrast

On white

7.04
#8F308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8F308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F308E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F308E#FFFFFF#000000##FFFFFF
##8F308E1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#943C5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f308e;
/* rgb */ color: rgb(143, 48, 142);
/* oklch */ color: oklch(48.5% 0.170 328.2);
Tailwind
colors: {
  custom: {
    50: '#b370af',
    500: '#8f308e',
    950: '#000000',
  },
}
SCSS
$custom: #8f308e;
$custom-light: #b370af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f308e",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 300.632,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.17036,
    "h": 328.2
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#8F308E
secondary
#66B567
accent
#D9504F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F308E

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

Preview Lab → · Contrast checker → · Palette generator →

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