#8A25B9#8A25B9

#8A25B9 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.218 H 311.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8A25B9
RGBrgb(138, 37, 185)
HSLhsl(281, 67%, 44%)
HSVhsv(281, 80%, 73%)
CMYKcmyk(25.4%, 80%, 0%, 27.5%)
CIE-LABlab(38.25, 63.05, -57.42)
CIE-LCHlch(38.25, 85.27, 317.68°)
OKLaboklab(49.62% 0.1456 -0.1627)
OKLCHoklch(49.62% 0.218 311.8)
XYZxyz(19.8981, 10.2297, 46.8159)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25B9 #54B925
analogous
#4025B9 #8A25B9 #B9259E
triadic
#8A25B9 #B98A25 #25B98A
tetradic
#8A25B9 #B94025 #54B925 #259EB9
square
#8A25B9 #B94025 #54B925 #259EB9
split-complementary
#8A25B9 #9EB925 #25B940
monochromatic
#3E1153 #641B86 #8A25B9 #A942D9 #C075E3

Accessibility & contrast

On white

6.89
#8A25B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A25B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A25B9
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25B9#FFFFFF#000000##FFFFFF
##8A25B91.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#844A70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a25b9;
/* rgb */ color: rgb(138, 37, 185);
/* oklch */ color: oklch(49.6% 0.218 311.8);
Tailwind
colors: {
  custom: {
    50: '#b16ccf',
    500: '#8a25b9',
    950: '#000000',
  },
}
SCSS
$custom: #8a25b9;
$custom-light: #b16ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25b9",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 185
  },
  "hsl": {
    "h": 280.946,
    "s": 66.667,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.21832,
    "h": 311.8
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#8A25B9
secondary
#8CCB6F
accent
#EA3E75
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A25B9

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

Preview Lab → · Contrast checker → · Palette generator →

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