#8F26AF#8F26AF

#8F26AF is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.210 H 316.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8F26AF
RGBrgb(143, 38, 175)
HSLhsl(286, 64%, 42%)
HSVhsv(286, 78%, 69%)
CMYKcmyk(18.3%, 78.3%, 0%, 31.4%)
CIE-LABlab(38.41, 61.65, -51.19)
CIE-LCHlch(38.41, 80.13, 320.29°)
OKLaboklab(49.67% 0.153 -0.1443)
OKLCHoklch(49.67% 0.21 316.7)
XYZxyz(19.7575, 10.3218, 41.5007)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F26AF #46AF26
analogous
#4A26AF #8F26AF #AF268B
triadic
#8F26AF #AF8F26 #26AF8F
tetradic
#8F26AF #AF4A26 #46AF26 #268BAF
square
#8F26AF #AF4A26 #46AF26 #268BAF
split-complementary
#8F26AF #8BAF26 #26AF4A
monochromatic
#3D104A #661B7D #8F26AF #B23DD5 #C670E0

Accessibility & contrast

On white

6.85
#8F26AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F26AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F26AF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F26AF#FFFFFF#000000##FFFFFF
##8F26AF1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#275DAC
Tritanopia (blue-blind)
#8D456A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f26af;
/* rgb */ color: rgb(143, 38, 175);
/* oklch */ color: oklch(49.7% 0.210 316.7);
Tailwind
colors: {
  custom: {
    50: '#b46dc8',
    500: '#8f26af',
    950: '#000000',
  },
}
SCSS
$custom: #8f26af;
$custom-light: #b46dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f26af",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 285.985,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49665,
    "c": 0.21031,
    "h": 316.7
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#8F26AF
secondary
#80C76A
accent
#E74067
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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