#8F258F#8F258F

#8F258F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.185 H 328.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8F258F
RGBrgb(143, 37, 143)
HSLhsl(300, 59%, 35%)
HSVhsv(300, 74%, 56%)
CMYKcmyk(0%, 74.1%, 0%, 43.9%)
CIE-LABlab(36.27, 56.13, -35.31)
CIE-LCHlch(36.27, 66.32, 327.83°)
OKLaboklab(47.49% 0.1566 -0.0978)
OKLCHoklch(47.49% 0.185 328)
XYZxyz(16.9470, 9.1472, 26.8543)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F258F #258F25
analogous
#5A258F #8F258F #8F255A
triadic
#8F258F #8F8F25 #258F8F
tetradic
#8F258F #8F5A25 #258F25 #255A8F
square
#8F258F #8F5A25 #258F25 #255A8F
split-complementary
#8F258F #5A8F25 #258F5A
monochromatic
#2E0C2E #5E185E #8F258F #C032C0 #D45AD4

Accessibility & contrast

On white

7.42
#8F258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F258F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F258F#FFFFFF#000000##FFFFFF
##8F258F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104D92
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#943558
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f258f;
/* rgb */ color: rgb(143, 37, 143);
/* oklch */ color: oklch(47.5% 0.185 328.0);
Tailwind
colors: {
  custom: {
    50: '#b36bb0',
    500: '#8f258f',
    950: '#000000',
  },
}
SCSS
$custom: #8f258f;
$custom-light: #b36bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f258f",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4749,
    "c": 0.18466,
    "h": 328
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#8F258F
secondary
#57B957
accent
#E24646
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F258F

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

Preview Lab → · Contrast checker → · Palette generator →

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