#8B267F#8B267F

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

Color values

HEX#8B267F
RGBrgb(139, 38, 127)
HSLhsl(307, 57%, 35%)
HSVhsv(307, 73%, 55%)
CMYKcmyk(0%, 72.7%, 8.6%, 45.5%)
CIE-LABlab(34.82, 52.17, -27.75)
CIE-LCHlch(34.82, 59.09, 332.00°)
OKLaboklab(46.03% 0.1506 -0.0761)
OKLCHoklch(46.03% 0.169 333.2)
XYZxyz(15.1714, 8.4088, 20.8986)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B267F #268B32
analogous
#65268B #8B267F #8B264C
triadic
#8B267F #7F8B26 #267F8B
tetradic
#8B267F #8B6526 #268B32 #264C8B
square
#8B267F #8B6526 #268B32 #264C8B
split-complementary
#8B267F #4C8B26 #268B65
monochromatic
#2B0C27 #5B1953 #8B267F #BB33AB #D25AC4

Accessibility & contrast

On white

7.83
#8B267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B267F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B267F#FFFFFF#000000##FFFFFF
##8B267F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224981
Deuteranopia (green-blind)
#47577D
Tritanopia (blue-blind)
#91304F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b267f;
/* rgb */ color: rgb(139, 38, 127);
/* oklch */ color: oklch(46.0% 0.169 333.2);
Tailwind
colors: {
  custom: {
    50: '#b06aa4',
    500: '#8b267f',
    950: '#000000',
  },
}
SCSS
$custom: #8b267f;
$custom-light: #b06aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b267f",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 307.129,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46034,
    "c": 0.16875,
    "h": 333.2
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#8B267F
secondary
#56B762
accent
#E05A47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8B267F

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

Preview Lab → · Contrast checker → · Palette generator →

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