#8F26A3#8F26A3

#8F26A3 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.8% C 0.200 H 320.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8F26A3
RGBrgb(143, 38, 163)
HSLhsl(290, 62%, 39%)
HSVhsv(290, 77%, 64%)
CMYKcmyk(12.3%, 76.7%, 0%, 36.1%)
CIE-LABlab(37.61, 59.37, -45.31)
CIE-LCHlch(37.61, 74.68, 322.65°)
OKLaboklab(48.84% 0.1546 -0.127)
OKLCHoklch(48.84% 0.2 320.6)
XYZxyz(18.6309, 9.8712, 35.5672)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26A3 #3AA326
analogous
#5126A3 #8F26A3 #A32679
triadic
#8F26A3 #A38F26 #26A38F
tetradic
#8F26A3 #A35126 #3AA326 #2679A3
square
#8F26A3 #A35126 #3AA326 #2679A3
split-complementary
#8F26A3 #79A326 #26A351
monochromatic
#380F40 #631A71 #8F26A3 #B736D0 #C968DC

Accessibility & contrast

On white

7.06
#8F26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F26A3
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26A3#FFFFFF#000000##FFFFFF
##8F26A31.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#345CA0
Tritanopia (blue-blind)
#904063
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f26a3;
/* rgb */ color: rgb(143, 38, 163);
/* oklch */ color: oklch(48.8% 0.200 320.6);
Tailwind
colors: {
  custom: {
    50: '#b46cbf',
    500: '#8f26a3',
    950: '#000000',
  },
}
SCSS
$custom: #8f26a3;
$custom-light: #b46cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26a3",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 290.4,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48841,
    "c": 0.20009,
    "h": 320.6
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#8F26A3
secondary
#72C263
accent
#E5435D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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