#8C25AF#8C25AF

#8C25AF is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.210 H 315.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8C25AF
RGBrgb(140, 37, 175)
HSLhsl(285, 65%, 42%)
HSVhsv(285, 79%, 69%)
CMYKcmyk(20%, 78.9%, 0%, 31.4%)
CIE-LABlab(37.83, 61.41, -52.15)
CIE-LCHlch(37.83, 80.57, 319.66°)
OKLaboklab(49.16% 0.1501 -0.1472)
OKLCHoklch(49.16% 0.21 315.6)
XYZxyz(19.2134, 9.9945, 41.4662)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C25AF #48AF25
analogous
#4725AF #8C25AF #AF258D
triadic
#8C25AF #AF8C25 #25AF8C
tetradic
#8C25AF #AF4725 #48AF25 #258DAF
square
#8C25AF #AF4725 #48AF25 #258DAF
split-complementary
#8C25AF #8DAF25 #25AF47
monochromatic
#3B104A #641A7C #8C25AF #AF3CD6 #C36EE0

Accessibility & contrast

On white

7.00
#8C25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8C25AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C25AF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C25AF#FFFFFF#000000##FFFFFF
##8C25AF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#89456A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8c25af;
/* rgb */ color: rgb(140, 37, 175);
/* oklch */ color: oklch(49.2% 0.210 315.6);
Tailwind
colors: {
  custom: {
    50: '#b26cc8',
    500: '#8c25af',
    950: '#000000',
  },
}
SCSS
$custom: #8c25af;
$custom-light: #b26cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c25af",
  "rgb": {
    "r": 140,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 284.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.21023,
    "h": 315.6
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#8C25AF
secondary
#81C769
accent
#E8406A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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