#8F259B#8F259B

#8F259B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.194 H 323.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8F259B
RGBrgb(143, 37, 155)
HSLhsl(294, 61%, 38%)
HSVhsv(294, 76%, 61%)
CMYKcmyk(7.7%, 76.1%, 0%, 39.2%)
CIE-LABlab(36.99, 58.24, -41.48)
CIE-LCHlch(36.99, 71.50, 324.54°)
OKLaboklab(48.24% 0.1562 -0.1158)
OKLCHoklch(48.24% 0.194 323.4)
XYZxyz(17.9051, 9.5304, 31.9005)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F259B #319B25
analogous
#54259B #8F259B #9B256C
triadic
#8F259B #9B8F25 #259B8F
tetradic
#8F259B #9B5425 #319B25 #256C9B
square
#8F259B #9B5425 #319B25 #256C9B
split-complementary
#8F259B #6C9B25 #259B54
monochromatic
#340D38 #61196A #8F259B #BD31CC #CD61D9

Accessibility & contrast

On white

7.23
#8F259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F259B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F259B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F259B#FFFFFF#000000##FFFFFF
##8F259B1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#3A5B98
Tritanopia (blue-blind)
#913B5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f259b;
/* rgb */ color: rgb(143, 37, 155);
/* oklch */ color: oklch(48.2% 0.194 323.4);
Tailwind
colors: {
  custom: {
    50: '#b36cb9',
    500: '#8f259b',
    950: '#000000',
  },
}
SCSS
$custom: #8f259b;
$custom-light: #b36cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f259b",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 293.898,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.19443,
    "h": 323.4
  },
  "luminance": 0.09529
}

Semantic roles & 50–950 ramp

primary
#8F259B
secondary
#67BF5D
accent
#E54354
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F259B

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

Preview Lab → · Contrast checker → · Palette generator →

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