#8F259F#8F259F

#8F259F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.198 H 322.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8F259F
RGBrgb(143, 37, 159)
HSLhsl(292, 62%, 38%)
HSVhsv(292, 77%, 62%)
CMYKcmyk(10.1%, 76.7%, 0%, 37.6%)
CIE-LABlab(37.24, 58.96, -43.50)
CIE-LCHlch(37.24, 73.27, 323.58°)
OKLaboklab(48.5% 0.1559 -0.1217)
OKLCHoklch(48.5% 0.198 322)
XYZxyz(18.2466, 9.6670, 33.6990)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F259F #359F25
analogous
#52259F #8F259F #9F2572
triadic
#8F259F #9F8F25 #259F8F
tetradic
#8F259F #9F5225 #359F25 #25729F
square
#8F259F #9F5225 #359F25 #25729F
split-complementary
#8F259F #729F25 #259F52
monochromatic
#360E3C #62196D #8F259F #BB32CF #CB64DB

Accessibility & contrast

On white

7.16
#8F259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F259F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F259F#FFFFFF#000000##FFFFFF
##8F259F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#375B9C
Tritanopia (blue-blind)
#913D61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f259f;
/* rgb */ color: rgb(143, 37, 159);
/* oklch */ color: oklch(48.5% 0.198 322.0);
Tailwind
colors: {
  custom: {
    50: '#b46cbc',
    500: '#8f259f',
    950: '#000000',
  },
}
SCSS
$custom: #8f259f;
$custom-light: #b46cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f259f",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 292.131,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48495,
    "c": 0.19775,
    "h": 322
  },
  "luminance": 0.09666
}

Semantic roles & 50–950 ramp

primary
#8F259F
secondary
#6CC05F
accent
#E54258
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F259F

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

Preview Lab → · Contrast checker → · Palette generator →

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