#8C25A3#8C25A3

#8C25A3 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.200 H 319.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8C25A3
RGBrgb(140, 37, 163)
HSLhsl(289, 63%, 39%)
HSVhsv(289, 77%, 64%)
CMYKcmyk(14.1%, 77.3%, 0%, 36.1%)
CIE-LABlab(37.01, 59.10, -46.30)
CIE-LCHlch(37.01, 75.07, 321.92°)
OKLaboklab(48.32% 0.1519 -0.13)
OKLCHoklch(48.32% 0.2 319.4)
XYZxyz(18.0868, 9.5438, 35.5327)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C25A3 #3CA325
analogous
#4D25A3 #8C25A3 #A3257B
triadic
#8C25A3 #A38C25 #25A38C
tetradic
#8C25A3 #A34D25 #3CA325 #257BA3
square
#8C25A3 #A34D25 #3CA325 #257BA3
split-complementary
#8C25A3 #7BA325 #25A34D
monochromatic
#360E3F #611A71 #8C25A3 #B434D1 #C766DC

Accessibility & contrast

On white

7.22
#8C25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8C25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C25A3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C25A3#FFFFFF#000000##FFFFFF
##8C25A31.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2F5AA0
Tritanopia (blue-blind)
#8C4063
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c25a3;
/* rgb */ color: rgb(140, 37, 163);
/* oklch */ color: oklch(48.3% 0.200 319.4);
Tailwind
colors: {
  custom: {
    50: '#b26cbf',
    500: '#8c25a3',
    950: '#000000',
  },
}
SCSS
$custom: #8c25a3;
$custom-light: #b26cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8c25a3",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 289.048,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48321,
    "c": 0.19991,
    "h": 319.4
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#8C25A3
secondary
#73C262
accent
#E64260
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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