#8D258E#8D258E

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

Color values

HEX#8D258E
RGBrgb(141, 37, 142)
HSLhsl(299, 59%, 35%)
HSVhsv(299, 74%, 56%)
CMYKcmyk(0.7%, 73.9%, 0%, 44.3%)
CIE-LABlab(35.87, 55.51, -35.35)
CIE-LCHlch(35.87, 65.81, 327.51°)
OKLaboklab(47.12% 0.1544 -0.098)
OKLCHoklch(47.12% 0.183 327.6)
XYZxyz(16.5283, 8.9400, 26.4410)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D258E #268E25
analogous
#59258E #8D258E #8E255A
triadic
#8D258E #8E8D25 #258E8D
tetradic
#8D258E #8E5925 #268E25 #255A8E
square
#8D258E #8E5925 #268E25 #255A8E
split-complementary
#8D258E #5A8E25 #258E59
monochromatic
#2D0C2D #5D185D #8D258E #BD32BF #D35AD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D258E#FFFFFF#000000##FFFFFF
##8D258E1.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)
#0F4C91
Deuteranopia (green-blind)
#41598B
Tritanopia (blue-blind)
#913657
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d258e;
/* rgb */ color: rgb(141, 37, 142);
/* oklch */ color: oklch(47.1% 0.183 327.6);
Tailwind
colors: {
  custom: {
    50: '#b26baf',
    500: '#8d258e',
    950: '#000000',
  },
}
SCSS
$custom: #8d258e;
$custom-light: #b26baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d258e",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 299.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.18287,
    "h": 327.6
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#8D258E
secondary
#57B956
accent
#E24647
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D258E

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

Preview Lab → · Contrast checker → · Palette generator →

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