#8F25BB#8F25BB

#8F25BB is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.222 H 313.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8F25BB
RGBrgb(143, 37, 187)
HSLhsl(282, 67%, 44%)
HSVhsv(282, 80%, 73%)
CMYKcmyk(23.5%, 80.2%, 0%, 26.7%)
CIE-LABlab(39.16, 64.31, -57.09)
CIE-LCHlch(39.16, 86.00, 318.41°)
OKLaboklab(50.46% 0.1516 -0.1616)
OKLCHoklch(50.46% 0.222 313.2)
XYZxyz(20.9573, 10.7513, 47.9753)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25BB #51BB25
analogous
#4425BB #8F25BB #BB259C
triadic
#8F25BB #BB8F25 #25BB8F
tetradic
#8F25BB #BB4425 #51BB25 #259CBB
square
#8F25BB #BB4425 #51BB25 #259CBB
split-complementary
#8F25BB #9CBB25 #25BB44
monochromatic
#411155 #681B88 #8F25BB #AE43DA #C476E4

Accessibility & contrast

On white

6.67
#8F25BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F25BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F25BB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25BB#FFFFFF#000000##FFFFFF
##8F25BB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0C5EB8
Tritanopia (blue-blind)
#8A4A71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f25bb;
/* rgb */ color: rgb(143, 37, 187);
/* oklch */ color: oklch(50.5% 0.222 313.2);
Tailwind
colors: {
  custom: {
    50: '#b56dd0',
    500: '#8f25bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f25bb;
$custom-light: #b56dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25bb",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 187
  },
  "hsl": {
    "h": 282.4,
    "s": 66.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.22158,
    "h": 313.2
  },
  "luminance": 0.10751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F25BB

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

Preview Lab → · Contrast checker → · Palette generator →

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