#8F309A#8F309A

#8F309A is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.181 H 323.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8F309A
RGBrgb(143, 48, 154)
HSLhsl(294, 52%, 40%)
HSVhsv(294, 69%, 60%)
CMYKcmyk(7.1%, 68.8%, 0%, 39.6%)
CIE-LABlab(38.35, 54.00, -38.69)
CIE-LCHlch(38.35, 66.43, 324.38°)
OKLaboklab(49.19% 0.1451 -0.1077)
OKLCHoklch(49.19% 0.181 323.4)
XYZxyz(18.2168, 10.2877, 31.5918)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F309A #3B9A30
analogous
#5A309A #8F309A #9A3070
triadic
#8F309A #9A8F30 #309A8F
tetradic
#8F309A #9A5A30 #3B9A30 #30709A
square
#8F309A #9A5A30 #3B9A30 #30709A
split-complementary
#8F309A #709A30 #309A5A
monochromatic
#38133D #64216B #8F309A #B743C4 #C972D3

Accessibility & contrast

On white

6.87
#8F309A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F309A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F309A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F309A#FFFFFF#000000##FFFFFF
##8F309A1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13539D
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#914261
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f309a;
/* rgb */ color: rgb(143, 48, 154);
/* oklch */ color: oklch(49.2% 0.181 323.4);
Tailwind
colors: {
  custom: {
    50: '#b371b8',
    500: '#8f309a',
    950: '#000000',
  },
}
SCSS
$custom: #8f309a;
$custom-light: #b371b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f309a",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 293.774,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.18076,
    "h": 323.4
  },
  "luminance": 0.10287
}

Semantic roles & 50–950 ramp

primary
#8F309A
secondary
#73BB6B
accent
#DC4C5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F309A

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

Preview Lab → · Contrast checker → · Palette generator →

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