#8C25BA#8C25BA

#8C25BA is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.0% C 0.220 H 312.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8C25BA
RGBrgb(140, 37, 186)
HSLhsl(281, 67%, 44%)
HSVhsv(281, 80%, 73%)
CMYKcmyk(24.7%, 80.1%, 0%, 27.1%)
CIE-LABlab(38.63, 63.59, -57.38)
CIE-LCHlch(38.63, 85.65, 317.94°)
OKLaboklab(49.97% 0.148 -0.1625)
OKLCHoklch(49.97% 0.22 312.3)
XYZxyz(20.3381, 10.4444, 47.3895)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C25BA #53BA25
analogous
#4225BA #8C25BA #BA259D
triadic
#8C25BA #BA8C25 #25BA8C
tetradic
#8C25BA #BA4225 #53BA25 #259DBA
square
#8C25BA #BA4225 #53BA25 #259DBA
split-complementary
#8C25BA #9DBA25 #25BA42
monochromatic
#3F1154 #661B87 #8C25BA #AB43DA #C276E4

Accessibility & contrast

On white

6.80
#8C25BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8C25BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C25BA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C25BA#FFFFFF#000000##FFFFFF
##8C25BA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#015DB7
Tritanopia (blue-blind)
#864A70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c25ba;
/* rgb */ color: rgb(140, 37, 186);
/* oklch */ color: oklch(50.0% 0.220 312.3);
Tailwind
colors: {
  custom: {
    50: '#b36dd0',
    500: '#8c25ba',
    950: '#000000',
  },
}
SCSS
$custom: #8c25ba;
$custom-light: #b36dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8c25ba",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 186
  },
  "hsl": {
    "h": 281.477,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49971,
    "c": 0.2198,
    "h": 312.3
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#8C25BA
secondary
#8CCB70
accent
#EA3E73
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8C25BA

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

Preview Lab → · Contrast checker → · Palette generator →

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