#8B307F#8B307F

#8B307F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.155 H 333.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8B307F
RGBrgb(139, 48, 127)
HSLhsl(308, 49%, 37%)
HSVhsv(308, 65%, 55%)
CMYKcmyk(0%, 65.5%, 8.6%, 45.5%)
CIE-LABlab(36.25, 48.18, -25.51)
CIE-LCHlch(36.25, 54.52, 332.10°)
OKLaboklab(47.07% 0.139 -0.0697)
OKLCHoklch(47.07% 0.155 333.4)
XYZxyz(15.5352, 9.1364, 21.0198)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B307F #308B3C
analogous
#6A308B #8B307F #8B3052
triadic
#8B307F #7F8B30 #307F8B
tetradic
#8B307F #8B6A30 #308B3C #30528B
square
#8B307F #8B6A30 #308B3C #30528B
split-complementary
#8B307F #528B30 #308B6A
monochromatic
#30112C #5E2055 #8B307F #B840A9 #CC6ABF

Accessibility & contrast

On white

7.43
#8B307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8B307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B307F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B307F#FFFFFF#000000##FFFFFF
##8B307F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#4C5A7D
Tritanopia (blue-blind)
#913753
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b307f;
/* rgb */ color: rgb(139, 48, 127);
/* oklch */ color: oklch(47.1% 0.155 333.4);
Tailwind
colors: {
  custom: {
    50: '#b06fa4',
    500: '#8b307f',
    950: '#000000',
  },
}
SCSS
$custom: #8b307f;
$custom-light: #b06fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b307f",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 307.912,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.15549,
    "h": 333.4
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#8B307F
secondary
#64B36E
accent
#D86250
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B307F

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

Preview Lab → · Contrast checker → · Palette generator →

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