#8D268D#8D268D

#8D268D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.181 H 328.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8D268D
RGBrgb(141, 38, 141)
HSLhsl(300, 58%, 35%)
HSVhsv(300, 73%, 55%)
CMYKcmyk(0%, 73%, 0%, 44.7%)
CIE-LABlab(35.93, 54.99, -34.63)
CIE-LCHlch(35.93, 64.99, 327.80°)
OKLaboklab(47.15% 0.1534 -0.0959)
OKLCHoklch(47.15% 0.181 328)
XYZxyz(16.4851, 8.9732, 26.0579)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D268D #268D26
analogous
#59268D #8D268D #8D2659
triadic
#8D268D #8D8D26 #268D8D
tetradic
#8D268D #8D5926 #268D26 #26598D
square
#8D268D #8D5926 #268D26 #26598D
split-complementary
#8D268D #598D26 #268D59
monochromatic
#2D0C2D #5D195D #8D268D #BD33BD #D35BD3

Accessibility & contrast

On white

7.52
#8D268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D268D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D268D#FFFFFF#000000##FFFFFF
##8D268D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C90
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#923657
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d268d;
/* rgb */ color: rgb(141, 38, 141);
/* oklch */ color: oklch(47.1% 0.181 328.0);
Tailwind
colors: {
  custom: {
    50: '#b26baf',
    500: '#8d268d',
    950: '#000000',
  },
}
SCSS
$custom: #8d268d;
$custom-light: #b26baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d268d",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47149,
    "c": 0.18093,
    "h": 328
  },
  "luminance": 0.08972
}

Semantic roles & 50–950 ramp

primary
#8D268D
secondary
#57B857
accent
#E14747
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D268D

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

Preview Lab → · Contrast checker → · Palette generator →

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