#8B267D#8B267D

#8B267D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.167 H 334.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8B267D
RGBrgb(139, 38, 125)
HSLhsl(308, 57%, 35%)
HSVhsv(308, 73%, 55%)
CMYKcmyk(0%, 72.7%, 10.1%, 45.5%)
CIE-LABlab(34.72, 51.85, -26.66)
CIE-LCHlch(34.72, 58.31, 332.79°)
OKLaboklab(45.93% 0.1505 -0.0729)
OKLCHoklch(45.93% 0.167 334.1)
XYZxyz(15.0424, 8.3571, 20.2189)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B267D #268B34
analogous
#67268B #8B267D #8B264B
triadic
#8B267D #7D8B26 #267D8B
tetradic
#8B267D #8B6726 #268B34 #264B8B
square
#8B267D #8B6726 #268B34 #264B8B
split-complementary
#8B267D #4B8B26 #268B67
monochromatic
#2B0C27 #5B1952 #8B267D #BB33A8 #D25AC1

Accessibility & contrast

On white

7.86
#8B267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8B267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B267D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B267D#FFFFFF#000000##FFFFFF
##8B267D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#922F4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b267d;
/* rgb */ color: rgb(139, 38, 125);
/* oklch */ color: oklch(45.9% 0.167 334.1);
Tailwind
colors: {
  custom: {
    50: '#b06aa3',
    500: '#8b267d',
    950: '#000000',
  },
}
SCSS
$custom: #8b267d;
$custom-light: #b06aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b267d",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 308.317,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45925,
    "c": 0.16723,
    "h": 334.1
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#8B267D
secondary
#56B764
accent
#E05D47
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B267D

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

Preview Lab → · Contrast checker → · Palette generator →

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