#8F309D#8F309D

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

Color values

HEX#8F309D
RGBrgb(143, 48, 157)
HSLhsl(292, 53%, 40%)
HSVhsv(292, 69%, 62%)
CMYKcmyk(8.9%, 69.4%, 0%, 38.4%)
CIE-LABlab(38.53, 54.56, -40.22)
CIE-LCHlch(38.53, 67.78, 323.60°)
OKLaboklab(49.38% 0.1451 -0.1122)
OKLCHoklch(49.38% 0.183 322.3)
XYZxyz(18.4698, 10.3889, 32.9241)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F309D #3E9D30
analogous
#59309D #8F309D #9D3074
triadic
#8F309D #9D8F30 #309D8F
tetradic
#8F309D #9D5930 #3E9D30 #30749D
square
#8F309D #9D5930 #3E9D30 #30749D
split-complementary
#8F309D #749D30 #309D59
monochromatic
#3A133F #64226E #8F309D #B544C6 #C873D4

Accessibility & contrast

On white

6.82
#8F309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F309D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F309D#FFFFFF#000000##FFFFFF
##8F309D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f309d;
/* rgb */ color: rgb(143, 48, 157);
/* oklch */ color: oklch(49.4% 0.183 322.3);
Tailwind
colors: {
  custom: {
    50: '#b371ba',
    500: '#8f309d',
    950: '#000000',
  },
}
SCSS
$custom: #8f309d;
$custom-light: #b371ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f309d",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 292.294,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49379,
    "c": 0.18341,
    "h": 322.3
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#8F309D
secondary
#77BC6D
accent
#DD4B5E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F309D

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

Preview Lab → · Contrast checker → · Palette generator →

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