#8F308D#8F308D

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

Color values

HEX#8F308D
RGBrgb(143, 48, 141)
HSLhsl(301, 50%, 37%)
HSVhsv(301, 66%, 56%)
CMYKcmyk(0%, 66.4%, 1.4%, 43.9%)
CIE-LABlab(37.62, 51.64, -31.94)
CIE-LCHlch(37.62, 60.72, 328.26°)
OKLaboklab(48.43% 0.1448 -0.0881)
OKLCHoklch(48.43% 0.17 328.7)
XYZxyz(17.1922, 9.8778, 26.1952)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F308D #308F32
analogous
#61308F #8F308D #8F305E
triadic
#8F308D #8D8F30 #308D8F
tetradic
#8F308D #8F6130 #308F32 #305E8F
square
#8F308D #8F6130 #308F32 #305E8F
split-complementary
#8F308D #5E8F30 #308F61
monochromatic
#331133 #612160 #8F308D #BD3FBA #CE6CCC

Accessibility & contrast

On white

7.06
#8F308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F308D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F308D#FFFFFF#000000##FFFFFF
##8F308D1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#485D8A
Tritanopia (blue-blind)
#943C5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f308d;
/* rgb */ color: rgb(143, 48, 141);
/* oklch */ color: oklch(48.4% 0.170 328.7);
Tailwind
colors: {
  custom: {
    50: '#b370af',
    500: '#8f308d',
    950: '#000000',
  },
}
SCSS
$custom: #8f308d;
$custom-light: #b370af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f308d",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 301.263,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.16952,
    "h": 328.7
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#8F308D
secondary
#66B568
accent
#D9514F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F308D

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

Preview Lab → · Contrast checker → · Palette generator →

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