#8B307B#8B307B

#8B307B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.152 H 335.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8B307B
RGBrgb(139, 48, 123)
HSLhsl(311, 49%, 37%)
HSVhsv(311, 65%, 55%)
CMYKcmyk(0%, 65.5%, 11.5%, 45.5%)
CIE-LABlab(36.05, 47.52, -23.33)
CIE-LCHlch(36.05, 52.93, 333.85°)
OKLaboklab(46.86% 0.1384 -0.0635)
OKLCHoklch(46.86% 0.152 335.4)
XYZxyz(15.2797, 9.0342, 19.6741)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B307B #308B40
analogous
#6E308B #8B307B #8B304E
triadic
#8B307B #7B8B30 #307B8B
tetradic
#8B307B #8B6E30 #308B40 #304E8B
square
#8B307B #8B6E30 #308B40 #304E8B
split-complementary
#8B307B #4E8B30 #308B6E
monochromatic
#30112A #5E2053 #8B307B #B840A3 #CC6ABA

Accessibility & contrast

On white

7.48
#8B307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8B307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B307B
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B307B#FFFFFF#000000##FFFFFF
##8B307B1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#4D5A79
Tritanopia (blue-blind)
#923651
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b307b;
/* rgb */ color: rgb(139, 48, 123);
/* oklch */ color: oklch(46.9% 0.152 335.4);
Tailwind
colors: {
  custom: {
    50: '#b06fa1',
    500: '#8b307b',
    950: '#000000',
  },
}
SCSS
$custom: #8b307b;
$custom-light: #b06fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b307b",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 310.549,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46861,
    "c": 0.1523,
    "h": 335.4
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#8B307B
secondary
#64B372
accent
#D86850
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8B307B

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

Preview Lab → · Contrast checker → · Palette generator →

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