#8A26A0#8A26A0

#8A26A0 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.196 H 319.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A26A0
RGBrgb(138, 38, 160)
HSLhsl(289, 62%, 39%)
HSVhsv(289, 76%, 63%)
CMYKcmyk(13.8%, 76.3%, 0%, 37.3%)
CIE-LABlab(36.61, 57.79, -45.15)
CIE-LCHlch(36.61, 73.33, 322.00°)
OKLaboklab(47.91% 0.1489 -0.1267)
OKLCHoklch(47.91% 0.196 319.6)
XYZxyz(17.5187, 9.3284, 34.1287)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26A0 #3CA026
analogous
#4D26A0 #8A26A0 #A02679
triadic
#8A26A0 #A08A26 #26A08A
tetradic
#8A26A0 #A04D26 #3CA026 #2679A0
square
#8A26A0 #A04D26 #3CA026 #2679A0
split-complementary
#8A26A0 #79A026 #26A04D
monochromatic
#350F3D #5F1A6F #8A26A0 #B334CF #C666DB

Accessibility & contrast

On white

7.33
#8A26A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8A26A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A26A0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26A0#FFFFFF#000000##FFFFFF
##8A26A01.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#8A3F62
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8a26a0;
/* rgb */ color: rgb(138, 38, 160);
/* oklch */ color: oklch(47.9% 0.196 319.6);
Tailwind
colors: {
  custom: {
    50: '#b06cbd',
    500: '#8a26a0',
    950: '#000000',
  },
}
SCSS
$custom: #8a26a0;
$custom-light: #b06cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26a0",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 160
  },
  "hsl": {
    "h": 289.18,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4791,
    "c": 0.1955,
    "h": 319.6
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#8A26A0
secondary
#73C061
accent
#E54360
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8A26A0

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

Preview Lab → · Contrast checker → · Palette generator →

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