#8F25AB#8F25AB

#8F25AB is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.208 H 318.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8F25AB
RGBrgb(143, 37, 171)
HSLhsl(287, 64%, 41%)
HSVhsv(287, 78%, 67%)
CMYKcmyk(16.4%, 78.4%, 0%, 32.9%)
CIE-LABlab(38.03, 61.20, -49.43)
CIE-LCHlch(38.03, 78.67, 321.07°)
OKLaboklab(49.31% 0.1545 -0.1391)
OKLCHoklch(49.31% 0.208 318)
XYZxyz(19.3389, 10.1039, 39.4518)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25AB #41AB25
analogous
#4C25AB #8F25AB #AB2584
triadic
#8F25AB #AB8F25 #25AB8F
tetradic
#8F25AB #AB4C25 #41AB25 #2584AB
square
#8F25AB #AB4C25 #41AB25 #2584AB
split-complementary
#8F25AB #84AB25 #25AB4C
monochromatic
#3B0F46 #651A79 #8F25AB #B439D4 #C76BDF

Accessibility & contrast

On white

6.95
#8F25AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F25AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F25AB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25AB#FFFFFF#000000##FFFFFF
##8F25AB1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#2B5DA8
Tritanopia (blue-blind)
#8E4368
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f25ab;
/* rgb */ color: rgb(143, 37, 171);
/* oklch */ color: oklch(49.3% 0.208 318.0);
Tailwind
colors: {
  custom: {
    50: '#b46cc5',
    500: '#8f25ab',
    950: '#000000',
  },
}
SCSS
$custom: #8f25ab;
$custom-light: #b46cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25ab",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 287.463,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49306,
    "c": 0.20786,
    "h": 318
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#8F25AB
secondary
#7AC567
accent
#E74063
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F25AB

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

Preview Lab → · Contrast checker → · Palette generator →

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