#8B267A#8B267A

#8B267A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.165 H 335.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8B267A
RGBrgb(139, 38, 122)
HSLhsl(310, 57%, 35%)
HSVhsv(310, 73%, 55%)
CMYKcmyk(0%, 72.7%, 12.2%, 45.5%)
CIE-LABlab(34.56, 51.38, -25.02)
CIE-LCHlch(34.56, 57.15, 334.03°)
OKLaboklab(45.76% 0.1502 -0.0682)
OKLCHoklch(45.76% 0.165 335.6)
XYZxyz(14.8536, 8.2816, 19.2248)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B267A #268B37
analogous
#6A268B #8B267A #8B2648
triadic
#8B267A #7A8B26 #267A8B
tetradic
#8B267A #8B6A26 #268B37 #26488B
square
#8B267A #8B6A26 #268B37 #26488B
split-complementary
#8B267A #488B26 #268B6A
monochromatic
#2B0C26 #5B1950 #8B267A #BB33A4 #D25ABE

Accessibility & contrast

On white

7.91
#8B267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B267A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B267A#FFFFFF#000000##FFFFFF
##8B267A1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27487C
Deuteranopia (green-blind)
#495778
Tritanopia (blue-blind)
#922D4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b267a;
/* rgb */ color: rgb(139, 38, 122);
/* oklch */ color: oklch(45.8% 0.165 335.6);
Tailwind
colors: {
  custom: {
    50: '#b06aa0',
    500: '#8b267a',
    950: '#000000',
  },
}
SCSS
$custom: #8b267a;
$custom-light: #b06aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b267a",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 310.099,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45764,
    "c": 0.16496,
    "h": 335.6
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#8B267A
secondary
#56B766
accent
#E06147
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B267A

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

Preview Lab → · Contrast checker → · Palette generator →

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