#8F26A5#8F26A5

#8F26A5 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.202 H 319.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8F26A5
RGBrgb(143, 38, 165)
HSLhsl(290, 63%, 40%)
HSVhsv(290, 77%, 65%)
CMYKcmyk(13.3%, 77%, 0%, 35.3%)
CIE-LABlab(37.74, 59.74, -46.30)
CIE-LCHlch(37.74, 75.58, 322.22°)
OKLaboklab(48.98% 0.1544 -0.1299)
OKLCHoklch(48.98% 0.202 319.9)
XYZxyz(18.8115, 9.9434, 36.5184)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26A5 #3CA526
analogous
#4F26A5 #8F26A5 #A5267C
triadic
#8F26A5 #A58F26 #26A58F
tetradic
#8F26A5 #A54F26 #3CA526 #267CA5
square
#8F26A5 #A54F26 #3CA526 #267CA5
split-complementary
#8F26A5 #7CA526 #26A54F
monochromatic
#390F42 #641B73 #8F26A5 #B637D1 #C869DC

Accessibility & contrast

On white

7.03
#8F26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8F26A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F26A5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26A5#FFFFFF#000000##FFFFFF
##8F26A51.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#325CA2
Tritanopia (blue-blind)
#8F4065
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f26a5;
/* rgb */ color: rgb(143, 38, 165);
/* oklch */ color: oklch(49.0% 0.202 319.9);
Tailwind
colors: {
  custom: {
    50: '#b46dc0',
    500: '#8f26a5',
    950: '#000000',
  },
}
SCSS
$custom: #8f26a5;
$custom-light: #b46dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26a5",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 289.606,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48975,
    "c": 0.20178,
    "h": 319.9
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#8F26A5
secondary
#75C364
accent
#E6425E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #8F26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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