#8F268D#8F268D

#8F268D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.182 H 328.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8F268D
RGBrgb(143, 38, 141)
HSLhsl(301, 58%, 35%)
HSVhsv(301, 73%, 56%)
CMYKcmyk(0%, 73.4%, 1.4%, 43.9%)
CIE-LABlab(36.27, 55.45, -34.07)
CIE-LCHlch(36.27, 65.08, 328.43°)
OKLaboklab(47.46% 0.1556 -0.0942)
OKLCHoklch(47.46% 0.182 328.8)
XYZxyz(16.8284, 9.1502, 26.0740)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F268D #268F28
analogous
#5C268F #8F268D #8F2658
triadic
#8F268D #8D8F26 #268D8F
tetradic
#8F268D #8F5C26 #268F28 #26588F
square
#8F268D #8F5C26 #268F28 #26588F
split-complementary
#8F268D #588F26 #268F5C
monochromatic
#2E0C2E #5F195D #8F268D #BF33BD #D45CD1

Accessibility & contrast

On white

7.42
#8F268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F268D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F268D#FFFFFF#000000##FFFFFF
##8F268D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#943557
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f268d;
/* rgb */ color: rgb(143, 38, 141);
/* oklch */ color: oklch(47.5% 0.182 328.8);
Tailwind
colors: {
  custom: {
    50: '#b36caf',
    500: '#8f268d',
    950: '#000000',
  },
}
SCSS
$custom: #8f268d;
$custom-light: #b36caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f268d",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 301.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.18195,
    "h": 328.8
  },
  "luminance": 0.09149
}

Semantic roles & 50–950 ramp

primary
#8F268D
secondary
#58B95A
accent
#E14A47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F268D

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

Preview Lab → · Contrast checker → · Palette generator →

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