#8D268A#8D268A

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

Color values

HEX#8D268A
RGBrgb(141, 38, 138)
HSLhsl(302, 58%, 35%)
HSVhsv(302, 73%, 55%)
CMYKcmyk(0%, 73%, 2.1%, 44.7%)
CIE-LABlab(35.76, 54.48, -33.06)
CIE-LCHlch(35.76, 63.72, 328.75°)
OKLaboklab(46.97% 0.1534 -0.0913)
OKLCHoklch(46.97% 0.179 329.2)
XYZxyz(16.2649, 8.8851, 24.8982)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D268A #268D29
analogous
#5D268D #8D268A #8D2656
triadic
#8D268A #8A8D26 #268A8D
tetradic
#8D268A #8D5D26 #268D29 #26568D
square
#8D268A #8D5D26 #268D29 #26568D
split-complementary
#8D268A #568D26 #268D5D
monochromatic
#2D0C2C #5D195B #8D268A #BD33B9 #D35BCF

Accessibility & contrast

On white

7.56
#8D268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D268A
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D268A#FFFFFF#000000##FFFFFF
##8D268A1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8D
Deuteranopia (green-blind)
#435987
Tritanopia (blue-blind)
#923455
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d268a;
/* rgb */ color: rgb(141, 38, 138);
/* oklch */ color: oklch(47.0% 0.179 329.2);
Tailwind
colors: {
  custom: {
    50: '#b26bac',
    500: '#8d268a',
    950: '#000000',
  },
}
SCSS
$custom: #8d268a;
$custom-light: #b26bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d268a",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 301.748,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46972,
    "c": 0.17851,
    "h": 329.2
  },
  "luminance": 0.08884
}

Semantic roles & 50–950 ramp

primary
#8D268A
secondary
#57B85A
accent
#E14B47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D268A

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

Preview Lab → · Contrast checker → · Palette generator →

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