#8B307C#8B307C

#8B307C is a mid, vivid purple. Relative luminance 0.091; OKLCH L 46.9% C 0.153 H 334.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8B307C
RGBrgb(139, 48, 124)
HSLhsl(310, 49%, 37%)
HSVhsv(310, 65%, 55%)
CMYKcmyk(0%, 65.5%, 10.8%, 45.5%)
CIE-LABlab(36.10, 47.68, -23.88)
CIE-LCHlch(36.10, 53.33, 333.40°)
OKLaboklab(46.91% 0.1386 -0.065)
OKLCHoklch(46.91% 0.153 334.9)
XYZxyz(15.3426, 9.0593, 20.0054)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B307C #308B3F
analogous
#6D308B #8B307C #8B304F
triadic
#8B307C #7C8B30 #307C8B
tetradic
#8B307C #8B6D30 #308B3F #304F8B
square
#8B307C #8B6D30 #308B3F #304F8B
split-complementary
#8B307C #4F8B30 #308B6D
monochromatic
#30112B #5E2053 #8B307C #B840A5 #CC6ABB

Accessibility & contrast

On white

7.47
#8B307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B307C
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B307C#FFFFFF#000000##FFFFFF
##8B307C1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b307c;
/* rgb */ color: rgb(139, 48, 124);
/* oklch */ color: oklch(46.9% 0.153 334.9);
Tailwind
colors: {
  custom: {
    50: '#b06fa2',
    500: '#8b307c',
    950: '#000000',
  },
}
SCSS
$custom: #8b307c;
$custom-light: #b06fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b307c",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 309.89,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46912,
    "c": 0.15308,
    "h": 334.9
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#8B307C
secondary
#64B371
accent
#D86650
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8B307C

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

Preview Lab → · Contrast checker → · Palette generator →

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