#8C25AB#8C25AB

#8C25AB is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.207 H 316.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8C25AB
RGBrgb(140, 37, 171)
HSLhsl(286, 64%, 41%)
HSVhsv(286, 78%, 67%)
CMYKcmyk(18.1%, 78.4%, 0%, 32.9%)
CIE-LABlab(37.55, 60.63, -50.22)
CIE-LCHlch(37.55, 78.73, 320.36°)
OKLaboklab(48.88% 0.1508 -0.1415)
OKLCHoklch(48.88% 0.207 316.8)
XYZxyz(18.8264, 9.8397, 39.4277)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C25AB #44AB25
analogous
#4925AB #8C25AB #AB2587
triadic
#8C25AB #AB8C25 #25AB8C
tetradic
#8C25AB #AB4925 #44AB25 #2587AB
square
#8C25AB #AB4925 #44AB25 #2587AB
split-complementary
#8C25AB #87AB25 #25AB49
monochromatic
#3A0F46 #631A79 #8C25AB #B039D4 #C46BDF

Accessibility & contrast

On white

7.08
#8C25AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C25AB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C25AB#FFFFFF#000000##FFFFFF
##8C25AB1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#265BA8
Tritanopia (blue-blind)
#8A4368
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8c25ab;
/* rgb */ color: rgb(140, 37, 171);
/* oklch */ color: oklch(48.9% 0.207 316.8);
Tailwind
colors: {
  custom: {
    50: '#b26cc5',
    500: '#8c25ab',
    950: '#000000',
  },
}
SCSS
$custom: #8c25ab;
$custom-light: #b26cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c25ab",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 286.119,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48877,
    "c": 0.20677,
    "h": 316.8
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#8C25AB
secondary
#7CC567
accent
#E74067
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C25AB

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

Preview Lab → · Contrast checker → · Palette generator →

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