#8F259A#8F259A

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

Color values

HEX#8F259A
RGBrgb(143, 37, 154)
HSLhsl(294, 61%, 37%)
HSVhsv(294, 76%, 60%)
CMYKcmyk(7.1%, 76%, 0%, 39.6%)
CIE-LABlab(36.92, 58.06, -40.97)
CIE-LCHlch(36.92, 71.06, 324.79°)
OKLaboklab(48.17% 0.1563 -0.1143)
OKLCHoklch(48.17% 0.194 323.8)
XYZxyz(17.8215, 9.4970, 31.4600)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F259A #309A25
analogous
#55259A #8F259A #9A256B
triadic
#8F259A #9A8F25 #259A8F
tetradic
#8F259A #9A5525 #309A25 #256B9A
square
#8F259A #9A5525 #309A25 #256B9A
split-complementary
#8F259A #6B9A25 #259A55
monochromatic
#330D37 #611969 #8F259A #BD31CB #CE60D9

Accessibility & contrast

On white

7.24
#8F259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F259A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F259A#FFFFFF#000000##FFFFFF
##8F259A1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#3B5B97
Tritanopia (blue-blind)
#923B5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f259a;
/* rgb */ color: rgb(143, 37, 154);
/* oklch */ color: oklch(48.2% 0.194 323.8);
Tailwind
colors: {
  custom: {
    50: '#b36cb8',
    500: '#8f259a',
    950: '#000000',
  },
}
SCSS
$custom: #8f259a;
$custom-light: #b36cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f259a",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 294.359,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48171,
    "c": 0.19361,
    "h": 323.8
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#8F259A
secondary
#66BE5D
accent
#E44353
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F259A

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

Preview Lab → · Contrast checker → · Palette generator →

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