#8F25C6#8F25C6

#8F25C6 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.3% C 0.231 H 310.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8F25C6
RGBrgb(143, 37, 198)
HSLhsl(280, 69%, 46%)
HSVhsv(280, 81%, 78%)
CMYKcmyk(27.8%, 81.3%, 0%, 22.4%)
CIE-LABlab(39.98, 66.53, -62.19)
CIE-LCHlch(39.98, 91.07, 316.93°)
OKLaboklab(51.29% 0.1491 -0.1766)
OKLCHoklch(51.29% 0.231 310.2)
XYZxyz(22.1803, 11.2405, 54.4163)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25C6 #5CC625
analogous
#3E25C6 #8F25C6 #C625AC
triadic
#8F25C6 #C68F25 #25C68F
tetradic
#8F25C6 #C63E25 #5CC625 #25ACC6
square
#8F25C6 #C63E25 #5CC625 #25ACC6
split-complementary
#8F25C6 #ACC625 #25C63E
monochromatic
#45125F #6A1B92 #8F25C6 #AB4BDD #C37EE7

Accessibility & contrast

On white

6.47
#8F25C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8F25C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F25C6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25C6#FFFFFF#000000##FFFFFF
##8F25C61.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#874F77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f25c6;
/* rgb */ color: rgb(143, 37, 198);
/* oklch */ color: oklch(51.3% 0.231 310.2);
Tailwind
colors: {
  custom: {
    50: '#b56ed8',
    500: '#8f25c6',
    950: '#000000',
  },
}
SCSS
$custom: #8f25c6;
$custom-light: #b56ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25c6",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 198
  },
  "hsl": {
    "h": 279.503,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.23113,
    "h": 310.2
  },
  "luminance": 0.1124
}

Semantic roles & 50–950 ramp

primary
#8F25C6
secondary
#95CF77
accent
#EB3C78
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8F25C6

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

Preview Lab → · Contrast checker → · Palette generator →

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