#8A25A7#8A25A7

#8A25A7 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.203 H 317.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A25A7
RGBrgb(138, 37, 167)
HSLhsl(287, 64%, 40%)
HSVhsv(287, 78%, 65%)
CMYKcmyk(17.4%, 77.8%, 0%, 34.5%)
CIE-LABlab(36.96, 59.47, -48.80)
CIE-LCHlch(36.96, 76.93, 320.63°)
OKLaboklab(48.31% 0.1489 -0.1374)
OKLCHoklch(48.31% 0.203 317.3)
XYZxyz(18.1168, 9.5172, 37.4344)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25A7 #42A725
analogous
#4925A7 #8A25A7 #A72583
triadic
#8A25A7 #A78A25 #25A78A
tetradic
#8A25A7 #A74925 #42A725 #2583A7
square
#8A25A7 #A74925 #42A725 #2583A7
split-complementary
#8A25A7 #83A725 #25A749
monochromatic
#370F43 #611A75 #8A25A7 #B037D3 #C469DE

Accessibility & contrast

On white

7.23
#8A25A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8A25A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25A7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25A7#FFFFFF#000000##FFFFFF
##8A25A71.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#285AA4
Tritanopia (blue-blind)
#894265
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a25a7;
/* rgb */ color: rgb(138, 37, 167);
/* oklch */ color: oklch(48.3% 0.203 317.3);
Tailwind
colors: {
  custom: {
    50: '#b06cc2',
    500: '#8a25a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a25a7;
$custom-light: #b06cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25a7",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 286.615,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.48309,
    "c": 0.20259,
    "h": 317.3
  },
  "luminance": 0.09516
}

Semantic roles & 50–950 ramp

primary
#8A25A7
secondary
#79C464
accent
#E74166
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8A25A7

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

Preview Lab → · Contrast checker → · Palette generator →

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