#8B268A#8B268A

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

Color values

HEX#8B268A
RGBrgb(139, 38, 138)
HSLhsl(301, 57%, 35%)
HSVhsv(301, 73%, 55%)
CMYKcmyk(0%, 72.7%, 0.7%, 45.5%)
CIE-LABlab(35.42, 54.01, -33.62)
CIE-LCHlch(35.42, 63.62, 328.10°)
OKLaboklab(46.66% 0.1511 -0.093)
OKLCHoklch(46.66% 0.177 328.4)
XYZxyz(15.9278, 8.7113, 24.8824)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B268A #268B27
analogous
#5A268B #8B268A #8B2658
triadic
#8B268A #8A8B26 #268A8B
tetradic
#8B268A #8B5A26 #268B27 #26588B
square
#8B268A #8B5A26 #268B27 #26588B
split-complementary
#8B268A #588B26 #268B5A
monochromatic
#2B0C2B #5B195A #8B268A #BB33BA #D25AD1

Accessibility & contrast

On white

7.66
#8B268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8B268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B268A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B268A#FFFFFF#000000##FFFFFF
##8B268A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154B8D
Deuteranopia (green-blind)
#415887
Tritanopia (blue-blind)
#903555
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b268a;
/* rgb */ color: rgb(139, 38, 138);
/* oklch */ color: oklch(46.7% 0.177 328.4);
Tailwind
colors: {
  custom: {
    50: '#b06bac',
    500: '#8b268a',
    950: '#000000',
  },
}
SCSS
$custom: #8b268a;
$custom-light: #b06bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8b268a",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 300.594,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46662,
    "c": 0.17748,
    "h": 328.4
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#8B268A
secondary
#56B757
accent
#E04947
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B268A

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

Preview Lab → · Contrast checker → · Palette generator →

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