#8F267E#8F267E

#8F267E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.170 H 335.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8F267E
RGBrgb(143, 38, 126)
HSLhsl(310, 58%, 35%)
HSVhsv(310, 73%, 56%)
CMYKcmyk(0%, 73.4%, 11.9%, 43.9%)
CIE-LABlab(35.47, 53.01, -26.06)
CIE-LCHlch(35.47, 59.07, 333.82°)
OKLaboklab(46.62% 0.1548 -0.0711)
OKLCHoklch(46.62% 0.17 335.3)
XYZxyz(15.7869, 8.7336, 20.5889)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F267E #268F37
analogous
#6B268F #8F267E #8F264A
triadic
#8F267E #7E8F26 #267E8F
tetradic
#8F267E #8F6B26 #268F37 #264A8F
square
#8F267E #8F6B26 #268F37 #264A8F
split-complementary
#8F267E #4A8F26 #268F6B
monochromatic
#2E0C29 #5F1953 #8F267E #BF33A9 #D45CC0

Accessibility & contrast

On white

7.65
#8F267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F267E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F267E#FFFFFF#000000##FFFFFF
##8F267E1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#4B597B
Tritanopia (blue-blind)
#962E4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f267e;
/* rgb */ color: rgb(143, 38, 126);
/* oklch */ color: oklch(46.6% 0.170 335.3);
Tailwind
colors: {
  custom: {
    50: '#b36ba3',
    500: '#8f267e',
    950: '#000000',
  },
}
SCSS
$custom: #8f267e;
$custom-light: #b36ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f267e",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 309.714,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46617,
    "c": 0.17037,
    "h": 335.3
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

primary
#8F267E
secondary
#58B968
accent
#E16047
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F267E

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

Preview Lab → · Contrast checker → · Palette generator →

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