#8F309C#8F309C

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

Color values

HEX#8F309C
RGBrgb(143, 48, 156)
HSLhsl(293, 53%, 40%)
HSVhsv(293, 69%, 61%)
CMYKcmyk(8.3%, 69.2%, 0%, 38.8%)
CIE-LABlab(38.47, 54.37, -39.71)
CIE-LCHlch(38.47, 67.33, 323.86°)
OKLaboklab(49.32% 0.1451 -0.1107)
OKLCHoklch(49.32% 0.183 322.7)
XYZxyz(18.3848, 10.3549, 32.4764)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F309C #3D9C30
analogous
#59309C #8F309C #9C3073
triadic
#8F309C #9C8F30 #309C8F
tetradic
#8F309C #9C5930 #3D9C30 #30739C
square
#8F309C #9C5930 #3D9C30 #30739C
split-complementary
#8F309C #739C30 #309C59
monochromatic
#39133E #64226D #8F309C #B644C5 #C873D4

Accessibility & contrast

On white

6.84
#8F309C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8F309C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F309C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F309C#FFFFFF#000000##FFFFFF
##8F309C1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F549F
Deuteranopia (green-blind)
#405E99
Tritanopia (blue-blind)
#914262
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f309c;
/* rgb */ color: rgb(143, 48, 156);
/* oklch */ color: oklch(49.3% 0.183 322.7);
Tailwind
colors: {
  custom: {
    50: '#b371ba',
    500: '#8f309c',
    950: '#000000',
  },
}
SCSS
$custom: #8f309c;
$custom-light: #b371ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f309c",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 292.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.49317,
    "c": 0.18252,
    "h": 322.7
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#8F309C
secondary
#76BC6C
accent
#DC4B5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F309C

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

Preview Lab → · Contrast checker → · Palette generator →

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