#8B267C#8B267C

#8B267C is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.166 H 334.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8B267C
RGBrgb(139, 38, 124)
HSLhsl(309, 57%, 35%)
HSVhsv(309, 73%, 55%)
CMYKcmyk(0%, 72.7%, 10.8%, 45.5%)
CIE-LABlab(34.66, 51.69, -26.12)
CIE-LCHlch(34.66, 57.92, 333.20°)
OKLaboklab(45.87% 0.1504 -0.0714)
OKLCHoklch(45.87% 0.166 334.6)
XYZxyz(14.9788, 8.3317, 19.8842)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B267C #268B35
analogous
#68268B #8B267C #8B264A
triadic
#8B267C #7C8B26 #267C8B
tetradic
#8B267C #8B6826 #268B35 #264A8B
square
#8B267C #8B6826 #268B35 #264A8B
split-complementary
#8B267C #4A8B26 #268B68
monochromatic
#2B0C26 #5B1951 #8B267C #BB33A7 #D25AC0

Accessibility & contrast

On white

7.88
#8B267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B267C
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B267C#FFFFFF#000000##FFFFFF
##8B267C1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#922E4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b267c;
/* rgb */ color: rgb(139, 38, 124);
/* oklch */ color: oklch(45.9% 0.166 334.6);
Tailwind
colors: {
  custom: {
    50: '#b06aa2',
    500: '#8b267c',
    950: '#000000',
  },
}
SCSS
$custom: #8b267c;
$custom-light: #b06aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b267c",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 308.911,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.16646,
    "h": 334.6
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#8B267C
secondary
#56B765
accent
#E05E47
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B267C

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

Preview Lab → · Contrast checker → · Palette generator →

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