#8D268F#8D268F

#8D268F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.183 H 327.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8D268F
RGBrgb(141, 38, 143)
HSLhsl(299, 58%, 35%)
HSVhsv(299, 73%, 56%)
CMYKcmyk(1.4%, 73.4%, 0%, 43.9%)
CIE-LABlab(36.05, 55.34, -35.68)
CIE-LCHlch(36.05, 65.84, 327.19°)
OKLaboklab(47.27% 0.1534 -0.099)
OKLCHoklch(47.27% 0.183 327.2)
XYZxyz(16.6353, 9.0333, 26.8487)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D268F #288F26
analogous
#58268F #8D268F #8F265C
triadic
#8D268F #8F8D26 #268F8D
tetradic
#8D268F #8F5826 #288F26 #265C8F
square
#8D268F #8F5826 #288F26 #265C8F
split-complementary
#8D268F #5C8F26 #268F58
monochromatic
#2E0C2E #5D195F #8D268F #BD33BF #D15CD4

Accessibility & contrast

On white

7.48
#8D268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D268F
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D268F#FFFFFF#000000##FFFFFF
##8D268F1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#913758
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d268f;
/* rgb */ color: rgb(141, 38, 143);
/* oklch */ color: oklch(47.3% 0.183 327.2);
Tailwind
colors: {
  custom: {
    50: '#b26bb0',
    500: '#8d268f',
    950: '#000000',
  },
}
SCSS
$custom: #8d268f;
$custom-light: #b26bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d268f",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 298.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47269,
    "c": 0.18255,
    "h": 327.2
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#8D268F
secondary
#5AB958
accent
#E1474A
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D268F

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

Preview Lab → · Contrast checker → · Palette generator →

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