#8D26B3#8D26B3

#8D26B3 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.213 H 314.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8D26B3
RGBrgb(141, 38, 179)
HSLhsl(284, 65%, 43%)
HSVhsv(284, 79%, 70%)
CMYKcmyk(21.2%, 78.8%, 0%, 29.8%)
CIE-LABlab(38.38, 62.05, -53.63)
CIE-LCHlch(38.38, 82.02, 319.16°)
OKLaboklab(49.67% 0.1499 -0.1515)
OKLCHoklch(49.67% 0.213 314.7)
XYZxyz(19.8129, 10.3043, 43.5843)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26B3 #4CB326
analogous
#4726B3 #8D26B3 #B32692
triadic
#8D26B3 #B38D26 #26B38D
tetradic
#8D26B3 #B34726 #4CB326 #2692B3
square
#8D26B3 #B34726 #4CB326 #2692B3
split-complementary
#8D26B3 #92B326 #26B347
monochromatic
#3D114E #651B81 #8D26B3 #AE40D6 #C372E1

Accessibility & contrast

On white

6.86
#8D26B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D26B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D26B3
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26B3#FFFFFF#000000##FFFFFF
##8D26B31.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#1C5DB0
Tritanopia (blue-blind)
#8A476D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d26b3;
/* rgb */ color: rgb(141, 38, 179);
/* oklch */ color: oklch(49.7% 0.213 314.7);
Tailwind
colors: {
  custom: {
    50: '#b36dcb',
    500: '#8d26b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d26b3;
$custom-light: #b36dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26b3",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 283.83,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4967,
    "c": 0.21309,
    "h": 314.7
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#8D26B3
secondary
#85C86D
accent
#E8406D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8D26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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