#8B268B#8B268B

#8B268B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.178 H 328.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8B268B
RGBrgb(139, 38, 139)
HSLhsl(300, 57%, 35%)
HSVhsv(300, 73%, 55%)
CMYKcmyk(0%, 72.7%, 0%, 45.5%)
CIE-LABlab(35.48, 54.19, -34.14)
CIE-LCHlch(35.48, 64.05, 327.79°)
OKLaboklab(46.72% 0.1512 -0.0945)
OKLCHoklch(46.72% 0.178 328)
XYZxyz(16.0006, 8.7404, 25.2654)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B268B #268B26
analogous
#59268B #8B268B #8B2659
triadic
#8B268B #8B8B26 #268B8B
tetradic
#8B268B #8B5926 #268B26 #26598B
square
#8B268B #8B5926 #268B26 #26598B
split-complementary
#8B268B #598B26 #268B59
monochromatic
#2B0C2B #5B195B #8B268B #BB33BB #D25AD2

Accessibility & contrast

On white

7.64
#8B268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8B268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B268B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B268B#FFFFFF#000000##FFFFFF
##8B268B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8E
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#8F3556
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b268b;
/* rgb */ color: rgb(139, 38, 139);
/* oklch */ color: oklch(46.7% 0.178 328.0);
Tailwind
colors: {
  custom: {
    50: '#b06bad',
    500: '#8b268b',
    950: '#000000',
  },
}
SCSS
$custom: #8b268b;
$custom-light: #b06bad;
$custom-dark: #000000;
JSON
{
  "hex": "#8b268b",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 300,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46722,
    "c": 0.17829,
    "h": 328
  },
  "luminance": 0.08739
}

Semantic roles & 50–950 ramp

primary
#8B268B
secondary
#56B756
accent
#E04747
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B268B

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

Preview Lab → · Contrast checker → · Palette generator →

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