#8D258F#8D258F

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

Color values

HEX#8D258F
RGBrgb(141, 37, 143)
HSLhsl(299, 59%, 35%)
HSVhsv(299, 74%, 56%)
CMYKcmyk(1.4%, 74.1%, 0%, 43.9%)
CIE-LABlab(35.93, 55.68, -35.87)
CIE-LCHlch(35.93, 66.24, 327.21°)
OKLaboklab(47.18% 0.1544 -0.0995)
OKLCHoklch(47.18% 0.184 327.2)
XYZxyz(16.6037, 8.9702, 26.8382)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D258F #278F25
analogous
#58258F #8D258F #8F255C
triadic
#8D258F #8F8D25 #258F8D
tetradic
#8D258F #8F5825 #278F25 #255C8F
square
#8D258F #8F5825 #278F25 #255C8F
split-complementary
#8D258F #5C8F25 #258F58
monochromatic
#2D0C2E #5D185E #8D258F #BD32C0 #D25AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D258F#FFFFFF#000000##FFFFFF
##8D258F1.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)
#0C4C92
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#913658
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d258f;
/* rgb */ color: rgb(141, 37, 143);
/* oklch */ color: oklch(47.2% 0.184 327.2);
Tailwind
colors: {
  custom: {
    50: '#b26bb0',
    500: '#8d258f',
    950: '#000000',
  },
}
SCSS
$custom: #8d258f;
$custom-light: #b26bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d258f",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 298.868,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47182,
    "c": 0.18367,
    "h": 327.2
  },
  "luminance": 0.08969
}

Semantic roles & 50–950 ramp

primary
#8D258F
secondary
#59B957
accent
#E24649
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D258F

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

Preview Lab → · Contrast checker → · Palette generator →

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