#8F259C#8F259C

#8F259C is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.195 H 323.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8F259C
RGBrgb(143, 37, 156)
HSLhsl(293, 62%, 38%)
HSVhsv(293, 76%, 61%)
CMYKcmyk(8.3%, 76.3%, 0%, 38.8%)
CIE-LABlab(37.05, 58.42, -41.98)
CIE-LCHlch(37.05, 71.94, 324.30°)
OKLaboklab(48.3% 0.1561 -0.1173)
OKLCHoklch(48.3% 0.195 323.1)
XYZxyz(17.9894, 9.5642, 32.3446)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F259C #329C25
analogous
#53259C #8F259C #9C256E
triadic
#8F259C #9C8F25 #259C8F
tetradic
#8F259C #9C5325 #329C25 #256E9C
square
#8F259C #9C5325 #329C25 #256E9C
split-complementary
#8F259C #6E9C25 #259C53
monochromatic
#340E39 #62196B #8F259C #BC31CD #CD62DA

Accessibility & contrast

On white

7.21
#8F259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F259C
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F259C#FFFFFF#000000##FFFFFF
##8F259C1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#395B99
Tritanopia (blue-blind)
#913C5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f259c;
/* rgb */ color: rgb(143, 37, 156);
/* oklch */ color: oklch(48.3% 0.195 323.1);
Tailwind
colors: {
  custom: {
    50: '#b36cba',
    500: '#8f259c',
    950: '#000000',
  },
}
SCSS
$custom: #8f259c;
$custom-light: #b36cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f259c",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 293.445,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.483,
    "c": 0.19526,
    "h": 323.1
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#8F259C
secondary
#68BF5E
accent
#E54355
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8F259C

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

Preview Lab → · Contrast checker → · Palette generator →

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