#8A25B0#8A25B0

#8A25B0 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.210 H 314.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8A25B0
RGBrgb(138, 37, 176)
HSLhsl(284, 65%, 42%)
HSVhsv(284, 79%, 69%)
CMYKcmyk(21.6%, 79%, 0%, 31%)
CIE-LABlab(37.59, 61.24, -53.15)
CIE-LCHlch(37.59, 81.09, 319.04°)
OKLaboklab(48.95% 0.1474 -0.1502)
OKLCHoklch(48.95% 0.21 314.5)
XYZxyz(18.9779, 9.8617, 41.9697)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25B0 #4BB025
analogous
#4525B0 #8A25B0 #B02591
triadic
#8A25B0 #B08A25 #25B08A
tetradic
#8A25B0 #B04525 #4BB025 #2591B0
square
#8A25B0 #B04525 #4BB025 #2591B0
split-complementary
#8A25B0 #91B025 #25B045
monochromatic
#3B104B #621A7D #8A25B0 #AC3CD6 #C26FE1

Accessibility & contrast

On white

7.07
#8A25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8A25B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25B0
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25B0#FFFFFF#000000##FFFFFF
##8A25B01.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#86466B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a25b0;
/* rgb */ color: rgb(138, 37, 176);
/* oklch */ color: oklch(49.0% 0.210 314.5);
Tailwind
colors: {
  custom: {
    50: '#b16cc8',
    500: '#8a25b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a25b0;
$custom-light: #b16cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25b0",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 283.597,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.21042,
    "h": 314.5
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#8A25B0
secondary
#83C76A
accent
#E8406E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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