#8D268B#8D268B

#8D268B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.179 H 328.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8D268B
RGBrgb(141, 38, 139)
HSLhsl(301, 58%, 35%)
HSVhsv(301, 73%, 55%)
CMYKcmyk(0%, 73%, 1.4%, 44.7%)
CIE-LABlab(35.82, 54.65, -33.58)
CIE-LCHlch(35.82, 64.14, 328.43°)
OKLaboklab(47.03% 0.1534 -0.0929)
OKLCHoklch(47.03% 0.179 328.8)
XYZxyz(16.3377, 8.9142, 25.2812)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D268B #268D28
analogous
#5B268D #8D268B #8D2657
triadic
#8D268B #8B8D26 #268B8D
tetradic
#8D268B #8D5B26 #268D28 #26578D
square
#8D268B #8D5B26 #268D28 #26578D
split-complementary
#8D268B #578D26 #268D5B
monochromatic
#2D0C2C #5D195B #8D268B #BD33BB #D35BD0

Accessibility & contrast

On white

7.55
#8D268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8D268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D268B
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D268B#FFFFFF#000000##FFFFFF
##8D268B1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8E
Deuteranopia (green-blind)
#435988
Tritanopia (blue-blind)
#923556
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d268b;
/* rgb */ color: rgb(141, 38, 139);
/* oklch */ color: oklch(47.0% 0.179 328.8);
Tailwind
colors: {
  custom: {
    50: '#b26bad',
    500: '#8d268b',
    950: '#000000',
  },
}
SCSS
$custom: #8d268b;
$custom-light: #b26bad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d268b",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 301.165,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4703,
    "c": 0.17932,
    "h": 328.8
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#8D268B
secondary
#57B859
accent
#E14A47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D268B

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

Preview Lab → · Contrast checker → · Palette generator →

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