#8B267B#8B267B

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

Color values

HEX#8B267B
RGBrgb(139, 38, 123)
HSLhsl(310, 57%, 35%)
HSVhsv(310, 73%, 55%)
CMYKcmyk(0%, 72.7%, 11.5%, 45.5%)
CIE-LABlab(34.61, 51.53, -25.57)
CIE-LCHlch(34.61, 57.53, 333.61°)
OKLaboklab(45.82% 0.1503 -0.0698)
OKLCHoklch(45.82% 0.166 335.1)
XYZxyz(14.9159, 8.3065, 19.5528)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B267B #268B36
analogous
#69268B #8B267B #8B2649
triadic
#8B267B #7B8B26 #267B8B
tetradic
#8B267B #8B6926 #268B36 #26498B
square
#8B267B #8B6926 #268B36 #26498B
split-complementary
#8B267B #498B26 #268B69
monochromatic
#2B0C26 #5B1950 #8B267B #BB33A6 #D25ABF

Accessibility & contrast

On white

7.89
#8B267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B267B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B267B#FFFFFF#000000##FFFFFF
##8B267B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#922E4D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b267b;
/* rgb */ color: rgb(139, 38, 123);
/* oklch */ color: oklch(45.8% 0.166 335.1);
Tailwind
colors: {
  custom: {
    50: '#b06aa1',
    500: '#8b267b',
    950: '#000000',
  },
}
SCSS
$custom: #8b267b;
$custom-light: #b06aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b267b",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 309.505,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.16571,
    "h": 335.1
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

primary
#8B267B
secondary
#56B765
accent
#E06047
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8B267B

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

Preview Lab → · Contrast checker → · Palette generator →

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