#8C25AA#8C25AA

#8C25AA is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.206 H 317.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8C25AA
RGBrgb(140, 37, 170)
HSLhsl(286, 64%, 41%)
HSVhsv(286, 78%, 67%)
CMYKcmyk(17.6%, 78.2%, 0%, 33.3%)
CIE-LABlab(37.48, 60.43, -49.73)
CIE-LCHlch(37.48, 78.27, 320.55°)
OKLaboklab(48.81% 0.1509 -0.1401)
OKLCHoklch(48.81% 0.206 317.1)
XYZxyz(18.7314, 9.8017, 38.9277)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C25AA #43AA25
analogous
#4925AA #8C25AA #AA2585
triadic
#8C25AA #AA8C25 #25AA8C
tetradic
#8C25AA #AA4925 #43AA25 #2585AA
square
#8C25AA #AA4925 #43AA25 #2585AA
split-complementary
#8C25AA #85AA25 #25AA49
monochromatic
#390F45 #631A78 #8C25AA #B138D4 #C56BDF

Accessibility & contrast

On white

7.09
#8C25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8C25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C25AA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C25AA#FFFFFF#000000##FFFFFF
##8C25AA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#275BA7
Tritanopia (blue-blind)
#8A4367
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8c25aa;
/* rgb */ color: rgb(140, 37, 170);
/* oklch */ color: oklch(48.8% 0.206 317.1);
Tailwind
colors: {
  custom: {
    50: '#b26cc4',
    500: '#8c25aa',
    950: '#000000',
  },
}
SCSS
$custom: #8c25aa;
$custom-light: #b26cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c25aa",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 286.466,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48806,
    "c": 0.20591,
    "h": 317.1
  },
  "luminance": 0.09801
}

Semantic roles & 50–950 ramp

primary
#8C25AA
secondary
#7BC566
accent
#E74166
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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