#8A25C6#8A25C6

#8A25C6 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.6% C 0.230 H 308.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8A25C6
RGBrgb(138, 37, 198)
HSLhsl(278, 69%, 46%)
HSVhsv(278, 81%, 78%)
CMYKcmyk(30.3%, 81.3%, 0%, 22.4%)
CIE-LABlab(39.25, 65.72, -63.42)
CIE-LCHlch(39.25, 91.33, 316.02°)
OKLaboklab(50.63% 0.1424 -0.1803)
OKLCHoklch(50.63% 0.23 308.3)
XYZxyz(21.3337, 10.8040, 54.3766)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A25C6 #61C625
analogous
#3925C6 #8A25C6 #C625B1
triadic
#8A25C6 #C68A25 #25C68A
tetradic
#8A25C6 #C63925 #61C625 #25B1C6
square
#8A25C6 #C63925 #61C625 #25B1C6
split-complementary
#8A25C6 #B1C625 #25C639
monochromatic
#42125F #661B92 #8A25C6 #A74BDD #C07EE7

Accessibility & contrast

On white

6.64
#8A25C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A25C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A25C6
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A25C6#FFFFFF#000000##FFFFFF
##8A25C61.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#805077
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a25c6;
/* rgb */ color: rgb(138, 37, 198);
/* oklch */ color: oklch(50.6% 0.230 308.3);
Tailwind
colors: {
  custom: {
    50: '#b26dd8',
    500: '#8a25c6',
    950: '#000000',
  },
}
SCSS
$custom: #8a25c6;
$custom-light: #b26dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a25c6",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 277.64,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.22982,
    "h": 308.3
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#8A25C6
secondary
#98CF77
accent
#EB3C7E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8A25C6

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

Preview Lab → · Contrast checker → · Palette generator →

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