#8F25A2#8F25A2

#8F25A2 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.200 H 321.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8F25A2
RGBrgb(143, 37, 162)
HSLhsl(291, 63%, 39%)
HSVhsv(291, 77%, 64%)
CMYKcmyk(11.7%, 77.2%, 0%, 36.5%)
CIE-LABlab(37.43, 59.51, -44.99)
CIE-LCHlch(37.43, 74.61, 322.91°)
OKLaboklab(48.69% 0.1556 -0.1261)
OKLCHoklch(48.69% 0.2 321)
XYZxyz(18.5101, 9.7724, 35.0867)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25A2 #38A225
analogous
#5125A2 #8F25A2 #A22577
triadic
#8F25A2 #A28F25 #25A28F
tetradic
#8F25A2 #A25125 #38A225 #2577A2
square
#8F25A2 #A25125 #38A225 #2577A2
split-complementary
#8F25A2 #77A225 #25A251
monochromatic
#370E3E #631A70 #8F25A2 #B934D1 #CA65DC

Accessibility & contrast

On white

7.11
#8F25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8F25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F25A2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25A2#FFFFFF#000000##FFFFFF
##8F25A21.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#345C9F
Tritanopia (blue-blind)
#903F63
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f25a2;
/* rgb */ color: rgb(143, 37, 162);
/* oklch */ color: oklch(48.7% 0.200 321.0);
Tailwind
colors: {
  custom: {
    50: '#b46cbe',
    500: '#8f25a2',
    950: '#000000',
  },
}
SCSS
$custom: #8f25a2;
$custom-light: #b46cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25a2",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 290.88,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.20027,
    "h": 321
  },
  "luminance": 0.09771
}

Semantic roles & 50–950 ramp

primary
#8F25A2
secondary
#70C261
accent
#E6425B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #8F25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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