#8A25B7#8A25B7

#8A25B7 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.217 H 312.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A25B7
RGBrgb(138, 37, 183)
HSLhsl(282, 66%, 43%)
HSVhsv(282, 80%, 72%)
CMYKcmyk(24.6%, 79.8%, 0%, 28.2%)
CIE-LABlab(38.10, 62.64, -56.48)
CIE-LCHlch(38.10, 84.34, 317.96°)
OKLaboklab(49.47% 0.146 -0.1599)
OKLCHoklch(49.47% 0.217 312.4)
XYZxyz(19.6885, 10.1459, 45.7118)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25B7 #52B725
analogous
#4125B7 #8A25B7 #B7259B
triadic
#8A25B7 #B78A25 #25B78A
tetradic
#8A25B7 #B74125 #52B725 #259BB7
square
#8A25B7 #B74125 #52B725 #259BB7
split-complementary
#8A25B7 #9BB725 #25B741
monochromatic
#3D1051 #641B84 #8A25B7 #AA41D9 #C174E3

Accessibility & contrast

On white

6.93
#8A25B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8A25B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A25B7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25B7#FFFFFF#000000##FFFFFF
##8A25B71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#045CB4
Tritanopia (blue-blind)
#85496F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a25b7;
/* rgb */ color: rgb(138, 37, 183);
/* oklch */ color: oklch(49.5% 0.217 312.4);
Tailwind
colors: {
  custom: {
    50: '#b16ccd',
    500: '#8a25b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a25b7;
$custom-light: #b16ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25b7",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 183
  },
  "hsl": {
    "h": 281.507,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.21656,
    "h": 312.4
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#8A25B7
secondary
#8ACA6E
accent
#E93F73
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A25B7

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

Preview Lab → · Contrast checker → · Palette generator →

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