#8A26AD#8A26AD

#8A26AD is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.207 H 315.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A26AD
RGBrgb(138, 38, 173)
HSLhsl(284, 64%, 41%)
HSVhsv(284, 78%, 68%)
CMYKcmyk(20.2%, 78%, 0%, 32.2%)
CIE-LABlab(37.49, 60.31, -51.52)
CIE-LCHlch(37.49, 79.32, 319.49°)
OKLaboklab(48.82% 0.1471 -0.1454)
OKLCHoklch(48.82% 0.207 315.3)
XYZxyz(18.7159, 9.8073, 40.4342)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A26AD #49AD26
analogous
#4626AD #8A26AD #AD268D
triadic
#8A26AD #AD8A26 #26AD8A
tetradic
#8A26AD #AD4626 #49AD26 #268DAD
square
#8A26AD #AD4626 #49AD26 #268DAD
split-complementary
#8A26AD #8DAD26 #26AD46
monochromatic
#3A1049 #621B7B #8A26AD #AD3CD4 #C26EDF

Accessibility & contrast

On white

7.09
#8A26AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8A26AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A26AD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A26AD#FFFFFF#000000##FFFFFF
##8A26AD1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#205BAA
Tritanopia (blue-blind)
#874569
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a26ad;
/* rgb */ color: rgb(138, 38, 173);
/* oklch */ color: oklch(48.8% 0.207 315.3);
Tailwind
colors: {
  custom: {
    50: '#b16cc6',
    500: '#8a26ad',
    950: '#000000',
  },
}
SCSS
$custom: #8a26ad;
$custom-light: #b16cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a26ad",
  "rgb": {
    "r": 138,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 284.444,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48817,
    "c": 0.20683,
    "h": 315.3
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#8A26AD
secondary
#81C669
accent
#E7416C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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