#8F25B2#8F25B2

#8F25B2 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.214 H 315.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8F25B2
RGBrgb(143, 37, 178)
HSLhsl(285, 66%, 42%)
HSVhsv(285, 79%, 70%)
CMYKcmyk(19.7%, 79.2%, 0%, 30.2%)
CIE-LABlab(38.51, 62.55, -52.82)
CIE-LCHlch(38.51, 81.86, 319.82°)
OKLaboklab(49.8% 0.1534 -0.149)
OKLCHoklch(49.8% 0.214 315.8)
XYZxyz(20.0239, 10.3779, 43.0592)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F25B2 #48B225
analogous
#4825B2 #8F25B2 #B2258F
triadic
#8F25B2 #B28F25 #25B28F
tetradic
#8F25B2 #B24825 #48B225 #258FB2
square
#8F25B2 #B24825 #48B225 #258FB2
split-complementary
#8F25B2 #8FB225 #25B248
monochromatic
#3E104D #661A7F #8F25B2 #B13DD7 #C570E1

Accessibility & contrast

On white

6.83
#8F25B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F25B2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F25B2#FFFFFF#000000##FFFFFF
##8F25B21.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#215DAF
Tritanopia (blue-blind)
#8C466C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f25b2;
/* rgb */ color: rgb(143, 37, 178);
/* oklch */ color: oklch(49.8% 0.214 315.8);
Tailwind
colors: {
  custom: {
    50: '#b46dca',
    500: '#8f25b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f25b2;
$custom-light: #b46dca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f25b2",
  "rgb": {
    "r": 143,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 285.106,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.21384,
    "h": 315.8
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#8F25B2
secondary
#82C86B
accent
#E93F69
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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