#8D25C6#8D25C6

#8D25C6 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.0% C 0.231 H 309.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8D25C6
RGBrgb(141, 37, 198)
HSLhsl(279, 69%, 46%)
HSVhsv(279, 81%, 78%)
CMYKcmyk(28.8%, 81.3%, 0%, 22.4%)
CIE-LABlab(39.69, 66.20, -62.69)
CIE-LCHlch(39.69, 91.17, 316.56°)
OKLaboklab(51.03% 0.1465 -0.1781)
OKLCHoklch(51.03% 0.231 309.4)
XYZxyz(21.8370, 11.0635, 54.4002)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D25C6 #5EC625
analogous
#3C25C6 #8D25C6 #C625AE
triadic
#8D25C6 #C68D25 #25C68D
tetradic
#8D25C6 #C63C25 #5EC625 #25AEC6
square
#8D25C6 #C63C25 #5EC625 #25AEC6
split-complementary
#8D25C6 #AEC625 #25C63C
monochromatic
#44125F #681B92 #8D25C6 #A94BDD #C27EE7

Accessibility & contrast

On white

6.54
#8D25C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8D25C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D25C6
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D25C6#FFFFFF#000000##FFFFFF
##8D25C61.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#845077
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d25c6;
/* rgb */ color: rgb(141, 37, 198);
/* oklch */ color: oklch(51.0% 0.231 309.4);
Tailwind
colors: {
  custom: {
    50: '#b46ed8',
    500: '#8d25c6',
    950: '#000000',
  },
}
SCSS
$custom: #8d25c6;
$custom-light: #b46ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d25c6",
  "rgb": {
    "r": 141,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 278.758,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51026,
    "c": 0.23059,
    "h": 309.4
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#8D25C6
secondary
#97CF77
accent
#EB3C7A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8D25C6

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

Preview Lab → · Contrast checker → · Palette generator →

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