#8F25BA#8F25BA

#8F25BA is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.4% C 0.221 H 313.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8F25BA
RGBrgb(143, 37, 186)
HSLhsl(283, 67%, 44%)
HSVhsv(283, 80%, 73%)
CMYKcmyk(23.1%, 80.1%, 0%, 27.1%)
CIE-LABlab(39.09, 64.12, -56.62)
CIE-LCHlch(39.09, 85.54, 318.55°)
OKLaboklab(50.38% 0.1518 -0.1602)
OKLCHoklch(50.38% 0.221 313.5)
XYZxyz(20.8506, 10.7086, 47.4135)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25BA #50BA25
analogous
#4525BA #8F25BA #BA259A
triadic
#8F25BA #BA8F25 #25BA8F
tetradic
#8F25BA #BA4525 #50BA25 #259ABA
square
#8F25BA #BA4525 #50BA25 #259ABA
split-complementary
#8F25BA #9ABA25 #25BA45
monochromatic
#411154 #681B87 #8F25BA #AE43DA #C476E4

Accessibility & contrast

On white

6.68
#8F25BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8F25BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F25BA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25BA#FFFFFF#000000##FFFFFF
##8F25BA1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0F5EB7
Tritanopia (blue-blind)
#8A4A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f25ba;
/* rgb */ color: rgb(143, 37, 186);
/* oklch */ color: oklch(50.4% 0.221 313.5);
Tailwind
colors: {
  custom: {
    50: '#b56dd0',
    500: '#8f25ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f25ba;
$custom-light: #b56dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25ba",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 282.685,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50384,
    "c": 0.22072,
    "h": 313.5
  },
  "luminance": 0.10708
}

Semantic roles & 50–950 ramp

primary
#8F25BA
secondary
#8ACB70
accent
#EA3E70
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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