#8F267F#8F267F

#8F267F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.171 H 334.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8F267F
RGBrgb(143, 38, 127)
HSLhsl(309, 58%, 35%)
HSVhsv(309, 73%, 56%)
CMYKcmyk(0%, 73.4%, 11.2%, 43.9%)
CIE-LABlab(35.52, 53.16, -26.60)
CIE-LCHlch(35.52, 59.45, 333.42°)
OKLaboklab(46.67% 0.1549 -0.0727)
OKLCHoklch(46.67% 0.171 334.9)
XYZxyz(15.8517, 8.7596, 20.9305)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F267F #268F36
analogous
#6A268F #8F267F #8F264A
triadic
#8F267F #7F8F26 #267F8F
tetradic
#8F267F #8F6A26 #268F36 #264A8F
square
#8F267F #8F6A26 #268F36 #264A8F
split-complementary
#8F267F #4A8F26 #268F6A
monochromatic
#2E0C29 #5F1954 #8F267F #BF33AA #D45CC1

Accessibility & contrast

On white

7.63
#8F267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8F267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F267F
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F267F#FFFFFF#000000##FFFFFF
##8F267F1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254A81
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#962E4F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f267f;
/* rgb */ color: rgb(143, 38, 127);
/* oklch */ color: oklch(46.7% 0.171 334.9);
Tailwind
colors: {
  custom: {
    50: '#b36ba4',
    500: '#8f267f',
    950: '#000000',
  },
}
SCSS
$custom: #8f267f;
$custom-light: #b36ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f267f",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 309.143,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.17112,
    "h": 334.9
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#8F267F
secondary
#58B967
accent
#E15E47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F267F

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

Preview Lab → · Contrast checker → · Palette generator →

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