#8F309B#8F309B

#8F309B is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.182 H 323.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8F309B
RGBrgb(143, 48, 155)
HSLhsl(293, 53%, 40%)
HSVhsv(293, 69%, 61%)
CMYKcmyk(7.7%, 69%, 0%, 39.2%)
CIE-LABlab(38.41, 54.18, -39.20)
CIE-LCHlch(38.41, 66.88, 324.11°)
OKLaboklab(49.26% 0.1451 -0.1092)
OKLCHoklch(49.26% 0.182 323)
XYZxyz(18.3005, 10.3211, 32.0322)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F309B #3C9B30
analogous
#5A309B #8F309B #9B3072
triadic
#8F309B #9B8F30 #309B8F
tetradic
#8F309B #9B5A30 #3C9B30 #30729B
square
#8F309B #9B5A30 #3C9B30 #30729B
split-complementary
#8F309B #729B30 #309B5A
monochromatic
#39133E #64226C #8F309B #B643C5 #C872D3

Accessibility & contrast

On white

6.85
#8F309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F309B
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F309B#FFFFFF#000000##FFFFFF
##8F309B1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539E
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#914262
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f309b;
/* rgb */ color: rgb(143, 48, 155);
/* oklch */ color: oklch(49.3% 0.182 323.0);
Tailwind
colors: {
  custom: {
    50: '#b371b9',
    500: '#8f309b',
    950: '#000000',
  },
}
SCSS
$custom: #8f309b;
$custom-light: #b371b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f309b",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 293.271,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.18164,
    "h": 323
  },
  "luminance": 0.1032
}

Semantic roles & 50–950 ramp

primary
#8F309B
secondary
#75BB6C
accent
#DC4C5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F309B

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

Preview Lab → · Contrast checker → · Palette generator →

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