#8F258D#8F258D

#8F258D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.183 H 328.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8F258D
RGBrgb(143, 37, 141)
HSLhsl(301, 59%, 35%)
HSVhsv(301, 74%, 56%)
CMYKcmyk(0%, 74.1%, 1.4%, 43.9%)
CIE-LABlab(36.15, 55.80, -34.26)
CIE-LCHlch(36.15, 65.48, 328.45°)
OKLaboklab(47.37% 0.1566 -0.0948)
OKLCHoklch(47.37% 0.183 328.8)
XYZxyz(16.7968, 9.0871, 26.0634)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F258D #258F27
analogous
#5C258F #8F258D #8F2558
triadic
#8F258D #8D8F25 #258D8F
tetradic
#8F258D #8F5C25 #258F27 #25588F
square
#8F258D #8F5C25 #258F27 #25588F
split-complementary
#8F258D #588F25 #258F5C
monochromatic
#2E0C2D #5E185D #8F258D #C032BD #D45AD2

Accessibility & contrast

On white

7.45
#8F258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F258D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F258D#FFFFFF#000000##FFFFFF
##8F258D1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#943557
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f258d;
/* rgb */ color: rgb(143, 37, 141);
/* oklch */ color: oklch(47.4% 0.183 328.8);
Tailwind
colors: {
  custom: {
    50: '#b36baf',
    500: '#8f258d',
    950: '#000000',
  },
}
SCSS
$custom: #8f258d;
$custom-light: #b36baf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f258d",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 301.132,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.18306,
    "h": 328.8
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#8F258D
secondary
#57B959
accent
#E24946
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F258D

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

Preview Lab → · Contrast checker → · Palette generator →

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