#8A25B5#8A25B5

#8A25B5 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.215 H 313.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A25B5
RGBrgb(138, 37, 181)
HSLhsl(282, 66%, 43%)
HSVhsv(282, 80%, 71%)
CMYKcmyk(23.8%, 79.6%, 0%, 29%)
CIE-LABlab(37.96, 62.24, -55.53)
CIE-LCHlch(37.96, 83.41, 318.26°)
OKLaboklab(49.32% 0.1464 -0.1572)
OKLCHoklch(49.32% 0.215 313)
XYZxyz(19.4818, 10.0632, 44.6232)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25B5 #50B525
analogous
#4225B5 #8A25B5 #B52598
triadic
#8A25B5 #B58A25 #25B58A
tetradic
#8A25B5 #B54225 #50B525 #2598B5
square
#8A25B5 #B54225 #50B525 #2598B5
split-complementary
#8A25B5 #98B525 #25B542
monochromatic
#3D104F #631B82 #8A25B5 #AA3FD8 #C172E2

Accessibility & contrast

On white

6.97
#8A25B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8A25B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A25B5
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25B5#FFFFFF#000000##FFFFFF
##8A25B51.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0D5BB2
Tritanopia (blue-blind)
#85486D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a25b5;
/* rgb */ color: rgb(138, 37, 181);
/* oklch */ color: oklch(49.3% 0.215 313.0);
Tailwind
colors: {
  custom: {
    50: '#b16ccc',
    500: '#8a25b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a25b5;
$custom-light: #b16ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25b5",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 181
  },
  "hsl": {
    "h": 282.083,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49322,
    "c": 0.21481,
    "h": 313
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#8A25B5
secondary
#88C96D
accent
#E93F72
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A25B5

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

Preview Lab → · Contrast checker → · Palette generator →

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