#8D268C#8D268C

#8D268C is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.180 H 328.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8D268C
RGBrgb(141, 38, 140)
HSLhsl(301, 58%, 35%)
HSVhsv(301, 73%, 55%)
CMYKcmyk(0%, 73%, 0.7%, 44.7%)
CIE-LABlab(35.88, 54.82, -34.11)
CIE-LCHlch(35.88, 64.57, 328.11°)
OKLaboklab(47.09% 0.1534 -0.0944)
OKLCHoklch(47.09% 0.18 328.4)
XYZxyz(16.4111, 8.9436, 25.6678)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D268C #268D27
analogous
#5B268D #8D268C #8D2658
triadic
#8D268C #8C8D26 #268C8D
tetradic
#8D268C #8D5B26 #268D27 #26588D
square
#8D268C #8D5B26 #268D27 #26588D
split-complementary
#8D268C #588D26 #268D5B
monochromatic
#2D0C2C #5D195C #8D268C #BD33BC #D35BD2

Accessibility & contrast

On white

7.53
#8D268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D268C
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D268C#FFFFFF#000000##FFFFFF
##8D268C1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C8F
Deuteranopia (green-blind)
#425989
Tritanopia (blue-blind)
#923557
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d268c;
/* rgb */ color: rgb(141, 38, 140);
/* oklch */ color: oklch(47.1% 0.180 328.4);
Tailwind
colors: {
  custom: {
    50: '#b26bae',
    500: '#8d268c',
    950: '#000000',
  },
}
SCSS
$custom: #8d268c;
$custom-light: #b26bae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d268c",
  "rgb": {
    "r": 141,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 300.583,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4709,
    "c": 0.18012,
    "h": 328.4
  },
  "luminance": 0.08942
}

Semantic roles & 50–950 ramp

primary
#8D268C
secondary
#57B858
accent
#E14947
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D268C

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

Preview Lab → · Contrast checker → · Palette generator →

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