#8F268A#8F268A

#8F268A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.180 H 330.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8F268A
RGBrgb(143, 38, 138)
HSLhsl(303, 58%, 35%)
HSVhsv(303, 73%, 56%)
CMYKcmyk(0%, 73.4%, 3.5%, 43.9%)
CIE-LABlab(36.10, 54.95, -32.49)
CIE-LCHlch(36.10, 63.84, 329.40°)
OKLaboklab(47.28% 0.1556 -0.0897)
OKLCHoklch(47.28% 0.18 330)
XYZxyz(16.6082, 9.0621, 24.9143)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F268A #268F2B
analogous
#5F268F #8F268A #8F2655
triadic
#8F268A #8A8F26 #268A8F
tetradic
#8F268A #8F5F26 #268F2B #26558F
square
#8F268A #8F5F26 #268F2B #26558F
split-complementary
#8F268A #558F26 #268F5F
monochromatic
#2E0C2D #5F195B #8F268A #BF33B9 #D45CCE

Accessibility & contrast

On white

7.47
#8F268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8F268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F268A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F268A#FFFFFF#000000##FFFFFF
##8F268A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#455A87
Tritanopia (blue-blind)
#943455
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f268a;
/* rgb */ color: rgb(143, 38, 138);
/* oklch */ color: oklch(47.3% 0.180 330.0);
Tailwind
colors: {
  custom: {
    50: '#b36bac',
    500: '#8f268a',
    950: '#000000',
  },
}
SCSS
$custom: #8f268a;
$custom-light: #b36bac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f268a",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 302.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47283,
    "c": 0.17957,
    "h": 330
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#8F268A
secondary
#58B95D
accent
#E14E47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F268A

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

Preview Lab → · Contrast checker → · Palette generator →

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