#8B268E#8B268E

#8B268E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.181 H 326.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8B268E
RGBrgb(139, 38, 142)
HSLhsl(298, 58%, 35%)
HSVhsv(298, 73%, 56%)
CMYKcmyk(2.1%, 73.2%, 0%, 44.3%)
CIE-LABlab(35.65, 54.71, -35.71)
CIE-LCHlch(35.65, 65.33, 326.87°)
OKLaboklab(46.9% 0.1511 -0.0991)
OKLCHoklch(46.9% 0.181 326.7)
XYZxyz(16.2228, 8.8293, 26.4357)
Luminance0.0883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B268E #298E26
analogous
#57268E #8B268E #8E265D
triadic
#8B268E #8E8B26 #268E8B
tetradic
#8B268E #8E5726 #298E26 #265D8E
square
#8B268E #8E5726 #298E26 #265D8E
split-complementary
#8B268E #5D8E26 #268E57
monochromatic
#2C0C2D #5C195E #8B268E #BA33BE #D05BD3

Accessibility & contrast

On white

7.59
#8B268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8B268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B268E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B268E#FFFFFF#000000##FFFFFF
##8B268E1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C91
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#8F3758
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b268e;
/* rgb */ color: rgb(139, 38, 142);
/* oklch */ color: oklch(46.9% 0.181 326.7);
Tailwind
colors: {
  custom: {
    50: '#b06baf',
    500: '#8b268e',
    950: '#000000',
  },
}
SCSS
$custom: #8b268e;
$custom-light: #b06baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b268e",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 298.269,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46902,
    "c": 0.18074,
    "h": 326.7
  },
  "luminance": 0.08828
}

Semantic roles & 50–950 ramp

primary
#8B268E
secondary
#5BB858
accent
#E1474B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8B268E

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

Preview Lab → · Contrast checker → · Palette generator →

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