#8F259E#8F259E

#8F259E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.197 H 322.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8F259E
RGBrgb(143, 37, 158)
HSLhsl(293, 62%, 38%)
HSVhsv(293, 77%, 62%)
CMYKcmyk(9.5%, 76.6%, 0%, 38%)
CIE-LABlab(37.17, 58.78, -42.99)
CIE-LCHlch(37.17, 72.82, 323.82°)
OKLaboklab(48.43% 0.156 -0.1202)
OKLCHoklch(48.43% 0.197 322.4)
XYZxyz(18.1602, 9.6325, 33.2438)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F259E #349E25
analogous
#52259E #8F259E #9E2570
triadic
#8F259E #9E8F25 #259E8F
tetradic
#8F259E #9E5225 #349E25 #25709E
square
#8F259E #9E5225 #349E25 #25709E
split-complementary
#8F259E #709E25 #259E52
monochromatic
#350E3B #62196C #8F259E #BB31CF #CC63DA

Accessibility & contrast

On white

7.18
#8F259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F259E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F259E#FFFFFF#000000##FFFFFF
##8F259E1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#375B9B
Tritanopia (blue-blind)
#913D60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f259e;
/* rgb */ color: rgb(143, 37, 158);
/* oklch */ color: oklch(48.4% 0.197 322.4);
Tailwind
colors: {
  custom: {
    50: '#b46cbb',
    500: '#8f259e',
    950: '#000000',
  },
}
SCSS
$custom: #8f259e;
$custom-light: #b46cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f259e",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 292.562,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4843,
    "c": 0.19692,
    "h": 322.4
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#8F259E
secondary
#6BC05F
accent
#E54357
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F259E

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

Preview Lab → · Contrast checker → · Palette generator →

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