#8A25B1#8A25B1

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

Color values

HEX#8A25B1
RGBrgb(138, 37, 177)
HSLhsl(283, 65%, 42%)
HSVhsv(283, 79%, 69%)
CMYKcmyk(22%, 79.1%, 0%, 30.6%)
CIE-LABlab(37.66, 61.44, -53.63)
CIE-LCHlch(37.66, 81.55, 318.88°)
OKLaboklab(49.03% 0.1472 -0.1516)
OKLCHoklch(49.03% 0.211 314.2)
XYZxyz(19.0773, 9.9014, 42.4927)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25B1 #4CB125
analogous
#4425B1 #8A25B1 #B12592
triadic
#8A25B1 #B18A25 #25B18A
tetradic
#8A25B1 #B14425 #4CB125 #2592B1
square
#8A25B1 #B14425 #4CB125 #2592B1
split-complementary
#8A25B1 #92B125 #25B144
monochromatic
#3B104C #631A7E #8A25B1 #AC3DD6 #C16FE1

Accessibility & contrast

On white

7.05
#8A25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A25B1
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25B1#FFFFFF#000000##FFFFFF
##8A25B11.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#185BAE
Tritanopia (blue-blind)
#86476B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a25b1;
/* rgb */ color: rgb(138, 37, 177);
/* oklch */ color: oklch(49.0% 0.211 314.2);
Tailwind
colors: {
  custom: {
    50: '#b16cc9',
    500: '#8a25b1',
    950: '#000000',
  },
}
SCSS
$custom: #8a25b1;
$custom-light: #b16cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25b1",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 283.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49027,
    "c": 0.2113,
    "h": 314.2
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#8A25B1
secondary
#84C86A
accent
#E83F6E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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