#8D26C3#8D26C3

#8D26C3 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.9% C 0.227 H 310.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8D26C3
RGBrgb(141, 38, 195)
HSLhsl(279, 67%, 46%)
HSVhsv(279, 81%, 76%)
CMYKcmyk(27.7%, 80.5%, 0%, 23.5%)
CIE-LABlab(39.56, 65.28, -61.14)
CIE-LCHlch(39.56, 89.44, 316.88°)
OKLaboklab(50.87% 0.1465 -0.1735)
OKLCHoklch(50.87% 0.227 310.2)
XYZxyz(21.5260, 10.9896, 52.6064)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D26C3 #5CC326
analogous
#3E26C3 #8D26C3 #C326AA
triadic
#8D26C3 #C38D26 #26C38D
tetradic
#8D26C3 #C33E26 #5CC326 #26AAC3
square
#8D26C3 #C33E26 #5CC326 #26AAC3
split-complementary
#8D26C3 #AAC326 #26C33E
monochromatic
#43125D #681C90 #8D26C3 #AA4ADC #C27EE6

Accessibility & contrast

On white

6.57
#8D26C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8D26C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D26C3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D26C3#FFFFFF#000000##FFFFFF
##8D26C31.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#854F76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d26c3;
/* rgb */ color: rgb(141, 38, 195);
/* oklch */ color: oklch(50.9% 0.227 310.2);
Tailwind
colors: {
  custom: {
    50: '#b46ed6',
    500: '#8d26c3',
    950: '#000000',
  },
}
SCSS
$custom: #8d26c3;
$custom-light: #b46ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d26c3",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 195
  },
  "hsl": {
    "h": 279.363,
    "s": 67.382,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50867,
    "c": 0.22711,
    "h": 310.2
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

primary
#8D26C3
secondary
#95CE77
accent
#EA3E79
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D26C3

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

Preview Lab → · Contrast checker → · Palette generator →

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