#8F309E#8F309E

#8F309E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.184 H 321.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8F309E
RGBrgb(143, 48, 158)
HSLhsl(292, 53%, 40%)
HSVhsv(292, 70%, 62%)
CMYKcmyk(9.5%, 69.6%, 0%, 38%)
CIE-LABlab(38.59, 54.75, -40.73)
CIE-LCHlch(38.59, 68.23, 323.35°)
OKLaboklab(49.44% 0.1451 -0.1137)
OKLCHoklch(49.44% 0.184 321.9)
XYZxyz(18.5555, 10.4232, 33.3756)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F309E #3F9E30
analogous
#58309E #8F309E #9E3076
triadic
#8F309E #9E8F30 #309E8F
tetradic
#8F309E #9E5830 #3F9E30 #30769E
square
#8F309E #9E5830 #3F9E30 #30769E
split-complementary
#8F309E #769E30 #309E58
monochromatic
#3A1340 #65226F #8F309E #B545C6 #C774D5

Accessibility & contrast

On white

6.81
#8F309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F309E
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F309E#FFFFFF#000000##FFFFFF
##8F309E1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A54A1
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#914363
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f309e;
/* rgb */ color: rgb(143, 48, 158);
/* oklch */ color: oklch(49.4% 0.184 321.9);
Tailwind
colors: {
  custom: {
    50: '#b371bb',
    500: '#8f309e',
    950: '#000000',
  },
}
SCSS
$custom: #8f309e;
$custom-light: #b371bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f309e",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 291.818,
    "s": 53.398,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.1843,
    "h": 321.9
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

primary
#8F309E
secondary
#78BD6D
accent
#DD4B5F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F309E

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

Preview Lab → · Contrast checker → · Palette generator →

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