#8F25B3#8F25B3

#8F25B3 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.215 H 315.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8F25B3
RGBrgb(143, 37, 179)
HSLhsl(285, 66%, 42%)
HSVhsv(285, 79%, 70%)
CMYKcmyk(20.1%, 79.3%, 0%, 29.8%)
CIE-LABlab(38.58, 62.74, -53.29)
CIE-LCHlch(38.58, 82.32, 319.65°)
OKLaboklab(49.87% 0.1532 -0.1504)
OKLCHoklch(49.87% 0.215 315.5)
XYZxyz(20.1246, 10.4182, 43.5899)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25B3 #49B325
analogous
#4825B3 #8F25B3 #B32590
triadic
#8F25B3 #B38F25 #25B38F
tetradic
#8F25B3 #B34825 #49B325 #2590B3
square
#8F25B3 #B34825 #49B325 #2590B3
split-complementary
#8F25B3 #90B325 #25B348
monochromatic
#3E104E #661B80 #8F25B3 #B03ED7 #C571E2

Accessibility & contrast

On white

6.81
#8F25B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8F25B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F25B3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25B3#FFFFFF#000000##FFFFFF
##8F25B31.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#1F5EB0
Tritanopia (blue-blind)
#8C476C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f25b3;
/* rgb */ color: rgb(143, 37, 179);
/* oklch */ color: oklch(49.9% 0.215 315.5);
Tailwind
colors: {
  custom: {
    50: '#b46dca',
    500: '#8f25b3',
    950: '#000000',
  },
}
SCSS
$custom: #8f25b3;
$custom-light: #b46dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25b3",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 284.789,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.21469,
    "h": 315.5
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#8F25B3
secondary
#83C86B
accent
#E93F6A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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