#8A26B0#8A26B0

#8A26B0 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.209 H 314.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8A26B0
RGBrgb(138, 38, 176)
HSLhsl(283, 64%, 42%)
HSVhsv(283, 78%, 69%)
CMYKcmyk(21.6%, 78.4%, 0%, 31%)
CIE-LABlab(37.71, 60.91, -52.97)
CIE-LCHlch(37.71, 80.72, 318.99°)
OKLaboklab(49.03% 0.1466 -0.1496)
OKLCHoklch(49.03% 0.209 314.4)
XYZxyz(19.0095, 9.9248, 41.9802)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26B0 #4CB026
analogous
#4526B0 #8A26B0 #B02691
triadic
#8A26B0 #B08A26 #26B08A
tetradic
#8A26B0 #B04526 #4CB026 #2691B0
square
#8A26B0 #B04526 #4CB026 #2691B0
split-complementary
#8A26B0 #91B026 #26B045
monochromatic
#3B104B #631B7E #8A26B0 #AC3ED5 #C170E0

Accessibility & contrast

On white

7.04
#8A26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A26B0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26B0#FFFFFF#000000##FFFFFF
##8A26B01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#86476B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a26b0;
/* rgb */ color: rgb(138, 38, 176);
/* oklch */ color: oklch(49.0% 0.209 314.4);
Tailwind
colors: {
  custom: {
    50: '#b16cc8',
    500: '#8a26b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a26b0;
$custom-light: #b16cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26b0",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 283.478,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49034,
    "c": 0.20946,
    "h": 314.4
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#8A26B0
secondary
#84C76B
accent
#E7406E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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