#8F258A#8F258A

#8F258A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.181 H 330.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8F258A
RGBrgb(143, 37, 138)
HSLhsl(303, 59%, 35%)
HSVhsv(303, 74%, 56%)
CMYKcmyk(0%, 74.1%, 3.5%, 43.9%)
CIE-LABlab(35.98, 55.29, -32.69)
CIE-LCHlch(35.98, 64.23, 329.41°)
OKLaboklab(47.2% 0.1566 -0.0902)
OKLCHoklch(47.2% 0.181 330)
XYZxyz(16.5766, 8.9990, 24.9037)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F258A #258F2A
analogous
#5F258F #8F258A #8F2555
triadic
#8F258A #8A8F25 #258A8F
tetradic
#8F258A #8F5F25 #258F2A #25558F
square
#8F258A #8F5F25 #258F2A #25558F
split-complementary
#8F258A #558F25 #258F5F
monochromatic
#2E0C2C #5E185B #8F258A #C032B9 #D45ACF

Accessibility & contrast

On white

7.50
#8F258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8F258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F258A
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F258A#FFFFFF#000000##FFFFFF
##8F258A1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8D
Deuteranopia (green-blind)
#455A87
Tritanopia (blue-blind)
#943355
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f258a;
/* rgb */ color: rgb(143, 37, 138);
/* oklch */ color: oklch(47.2% 0.181 330.0);
Tailwind
colors: {
  custom: {
    50: '#b36bac',
    500: '#8f258a',
    950: '#000000',
  },
}
SCSS
$custom: #8f258a;
$custom-light: #b36bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f258a",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 302.83,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47196,
    "c": 0.1807,
    "h": 330
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#8F258A
secondary
#57B95B
accent
#E24D46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F258A

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

Preview Lab → · Contrast checker → · Palette generator →

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