#8F309F#8F309F

#8F309F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.185 H 321.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8F309F
RGBrgb(143, 48, 159)
HSLhsl(291, 54%, 41%)
HSVhsv(291, 70%, 62%)
CMYKcmyk(10.1%, 69.8%, 0%, 37.6%)
CIE-LABlab(38.65, 54.94, -41.23)
CIE-LCHlch(38.65, 68.69, 323.11°)
OKLaboklab(49.5% 0.145 -0.1152)
OKLCHoklch(49.5% 0.185 321.5)
XYZxyz(18.6420, 10.4577, 33.8308)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F309F #409F30
analogous
#57309F #8F309F #9F3077
triadic
#8F309F #9F8F30 #309F8F
tetradic
#8F309F #9F5730 #409F30 #30779F
square
#8F309F #9F5730 #409F30 #30779F
split-complementary
#8F309F #779F30 #309F57
monochromatic
#3A1441 #652270 #8F309F #B445C7 #C774D5

Accessibility & contrast

On white

6.79
#8F309F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8F309F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F309F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F309F#FFFFFF#000000##FFFFFF
##8F309F1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0654A2
Deuteranopia (green-blind)
#3D5F9C
Tritanopia (blue-blind)
#904464
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f309f;
/* rgb */ color: rgb(143, 48, 159);
/* oklch */ color: oklch(49.5% 0.185 321.5);
Tailwind
colors: {
  custom: {
    50: '#b371bc',
    500: '#8f309f',
    950: '#000000',
  },
}
SCSS
$custom: #8f309f;
$custom-light: #b371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f309f",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 291.351,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49504,
    "c": 0.1852,
    "h": 321.5
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#8F309F
secondary
#79BD6E
accent
#DD4B60
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F309F

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

Preview Lab → · Contrast checker → · Palette generator →

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