#8D26A2#8D26A2

#8D26A2 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 320.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8D26A2
RGBrgb(141, 38, 162)
HSLhsl(290, 62%, 39%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(13%, 76.5%, 0%, 36.5%)
CIE-LABlab(37.22, 58.78, -45.35)
CIE-LCHlch(37.22, 74.24, 322.35°)
OKLaboklab(48.48% 0.1523 -0.1272)
OKLCHoklch(48.48% 0.198 320.1)
XYZxyz(18.1984, 9.6585, 35.0811)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26A2 #3BA226
analogous
#4F26A2 #8D26A2 #A22679
triadic
#8D26A2 #A28D26 #26A28D
tetradic
#8D26A2 #A24F26 #3BA226 #2679A2
square
#8D26A2 #A24F26 #3BA226 #2679A2
split-complementary
#8D26A2 #79A226 #26A24F
monochromatic
#370F3F #621A70 #8D26A2 #B635D0 #C867DB

Accessibility & contrast

On white

7.16
#8D26A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8D26A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D26A2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26A2#FFFFFF#000000##FFFFFF
##8D26A21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#325B9F
Tritanopia (blue-blind)
#8D4063
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d26a2;
/* rgb */ color: rgb(141, 38, 162);
/* oklch */ color: oklch(48.5% 0.198 320.1);
Tailwind
colors: {
  custom: {
    50: '#b26cbe',
    500: '#8d26a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d26a2;
$custom-light: #b26cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26a2",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 289.839,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.19843,
    "h": 320.1
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#8D26A2
secondary
#73C163
accent
#E5435E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D26A2

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

Preview Lab → · Contrast checker → · Palette generator →

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