#8B267E#8B267E

#8B267E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.168 H 333.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8B267E
RGBrgb(139, 38, 126)
HSLhsl(308, 57%, 35%)
HSVhsv(308, 73%, 55%)
CMYKcmyk(0%, 72.7%, 9.4%, 45.5%)
CIE-LABlab(34.77, 52.01, -27.20)
CIE-LCHlch(34.77, 58.70, 332.39°)
OKLaboklab(45.98% 0.1506 -0.0745)
OKLCHoklch(45.98% 0.168 333.7)
XYZxyz(15.1066, 8.3828, 20.5570)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B267E #268B33
analogous
#66268B #8B267E #8B264B
triadic
#8B267E #7E8B26 #267E8B
tetradic
#8B267E #8B6626 #268B33 #264B8B
square
#8B267E #8B6626 #268B33 #264B8B
split-complementary
#8B267E #4B8B26 #268B66
monochromatic
#2B0C27 #5B1952 #8B267E #BB33AA #D25AC2

Accessibility & contrast

On white

7.85
#8B267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B267E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B267E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B267E#FFFFFF#000000##FFFFFF
##8B267E1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#48577C
Tritanopia (blue-blind)
#922F4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b267e;
/* rgb */ color: rgb(139, 38, 126);
/* oklch */ color: oklch(46.0% 0.168 333.7);
Tailwind
colors: {
  custom: {
    50: '#b06aa3',
    500: '#8b267e',
    950: '#000000',
  },
}
SCSS
$custom: #8b267e;
$custom-light: #b06aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b267e",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 307.723,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45979,
    "c": 0.16798,
    "h": 333.7
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#8B267E
secondary
#56B763
accent
#E05B47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B267E

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

Preview Lab → · Contrast checker → · Palette generator →

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