#8F25A4#8F25A4

#8F25A4 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.202 H 320.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8F25A4
RGBrgb(143, 37, 164)
HSLhsl(290, 63%, 39%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(12.8%, 77.4%, 0%, 35.7%)
CIE-LABlab(37.56, 59.88, -45.99)
CIE-LCHlch(37.56, 75.51, 322.48°)
OKLaboklab(48.83% 0.1554 -0.129)
OKLCHoklch(48.83% 0.202 320.3)
XYZxyz(18.6893, 9.8441, 36.0304)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25A4 #3AA425
analogous
#5025A4 #8F25A4 #A4257A
triadic
#8F25A4 #A48F25 #25A48F
tetradic
#8F25A4 #A45025 #3AA425 #257AA4
square
#8F25A4 #A45025 #3AA425 #257AA4
split-complementary
#8F25A4 #7AA425 #25A450
monochromatic
#380E40 #631A72 #8F25A4 #B735D1 #C967DD

Accessibility & contrast

On white

7.07
#8F25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F25A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F25A4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25A4#FFFFFF#000000##FFFFFF
##8F25A41.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#325CA1
Tritanopia (blue-blind)
#903F64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f25a4;
/* rgb */ color: rgb(143, 37, 164);
/* oklch */ color: oklch(48.8% 0.202 320.3);
Tailwind
colors: {
  custom: {
    50: '#b46cc0',
    500: '#8f25a4',
    950: '#000000',
  },
}
SCSS
$custom: #8f25a4;
$custom-light: #b46cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25a4",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 290.079,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48827,
    "c": 0.20194,
    "h": 320.3
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#8F25A4
secondary
#72C262
accent
#E6425D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #8F25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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