#8F25B5#8F25B5

#8F25B5 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.216 H 314.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8F25B5
RGBrgb(143, 37, 181)
HSLhsl(284, 66%, 43%)
HSVhsv(284, 80%, 71%)
CMYKcmyk(21%, 79.6%, 0%, 29%)
CIE-LABlab(38.72, 63.13, -54.25)
CIE-LCHlch(38.72, 83.24, 319.33°)
OKLaboklab(50.02% 0.1528 -0.1532)
OKLCHoklch(50.02% 0.216 314.9)
XYZxyz(20.3284, 10.4997, 44.6629)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25B5 #4BB525
analogous
#4725B5 #8F25B5 #B52593
triadic
#8F25B5 #B58F25 #25B58F
tetradic
#8F25B5 #B54725 #4BB525 #2593B5
square
#8F25B5 #B54725 #4BB525 #2593B5
split-complementary
#8F25B5 #93B525 #25B547
monochromatic
#3F104F #671B82 #8F25B5 #B03FD8 #C572E2

Accessibility & contrast

On white

6.77
#8F25B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8F25B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F25B5
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25B5#FFFFFF#000000##FFFFFF
##8F25B51.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#8C476E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f25b5;
/* rgb */ color: rgb(143, 37, 181);
/* oklch */ color: oklch(50.0% 0.216 314.9);
Tailwind
colors: {
  custom: {
    50: '#b46dcc',
    500: '#8f25b5',
    950: '#000000',
  },
}
SCSS
$custom: #8f25b5;
$custom-light: #b46dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25b5",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 181
  },
  "hsl": {
    "h": 284.167,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50017,
    "c": 0.21641,
    "h": 314.9
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#8F25B5
secondary
#85C96D
accent
#E93F6C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F25B5

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

Preview Lab → · Contrast checker → · Palette generator →

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