#8B268C#8B268C

#8B268C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.179 H 327.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8B268C
RGBrgb(139, 38, 140)
HSLhsl(299, 57%, 35%)
HSVhsv(299, 73%, 55%)
CMYKcmyk(0.7%, 72.9%, 0%, 45.1%)
CIE-LABlab(35.54, 54.36, -34.67)
CIE-LCHlch(35.54, 64.47, 327.47°)
OKLaboklab(46.78% 0.1512 -0.0961)
OKLCHoklch(46.78% 0.179 327.6)
XYZxyz(16.0740, 8.7698, 25.6520)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B268C #278C26
analogous
#58268C #8B268C #8C265A
triadic
#8B268C #8C8B26 #268C8B
tetradic
#8B268C #8C5826 #278C26 #265A8C
square
#8B268C #8C5826 #278C26 #265A8C
split-complementary
#8B268C #5A8C26 #268C58
monochromatic
#2B0C2C #5B195C #8B268C #BB33BC #D15AD2

Accessibility & contrast

On white

7.63
#8B268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B268C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B268C#FFFFFF#000000##FFFFFF
##8B268C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124B8F
Deuteranopia (green-blind)
#405889
Tritanopia (blue-blind)
#8F3657
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b268c;
/* rgb */ color: rgb(139, 38, 140);
/* oklch */ color: oklch(46.8% 0.179 327.6);
Tailwind
colors: {
  custom: {
    50: '#b06bae',
    500: '#8b268c',
    950: '#000000',
  },
}
SCSS
$custom: #8b268c;
$custom-light: #b06bae;
$custom-dark: #000000;
JSON
{
  "hex": "#8b268c",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 299.412,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46782,
    "c": 0.1791,
    "h": 327.6
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#8B268C
secondary
#58B757
accent
#E14749
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B268C

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

Preview Lab → · Contrast checker → · Palette generator →

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