#8F268E#8F268E

#8F268E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.183 H 328.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8F268E
RGBrgb(143, 38, 142)
HSLhsl(301, 58%, 35%)
HSVhsv(301, 73%, 56%)
CMYKcmyk(0%, 73.4%, 0.7%, 43.9%)
CIE-LABlab(36.33, 55.62, -34.60)
CIE-LCHlch(36.33, 65.50, 328.12°)
OKLaboklab(47.52% 0.1557 -0.0958)
OKLCHoklch(47.52% 0.183 328.4)
XYZxyz(16.9031, 9.1801, 26.4676)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F268E #268F27
analogous
#5B268F #8F268E #8F265A
triadic
#8F268E #8E8F26 #268E8F
tetradic
#8F268E #8F5B26 #268F27 #265A8F
square
#8F268E #8F5B26 #268F27 #265A8F
split-complementary
#8F268E #5A8F26 #268F5B
monochromatic
#2E0C2E #5F195E #8F268E #BF33BE #D45CD2

Accessibility & contrast

On white

7.41
#8F268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F268E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F268E#FFFFFF#000000##FFFFFF
##8F268E1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#435A8B
Tritanopia (blue-blind)
#943658
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f268e;
/* rgb */ color: rgb(143, 38, 142);
/* oklch */ color: oklch(47.5% 0.183 328.4);
Tailwind
colors: {
  custom: {
    50: '#b36caf',
    500: '#8f268e',
    950: '#000000',
  },
}
SCSS
$custom: #8f268e;
$custom-light: #b36caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f268e",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 300.571,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47517,
    "c": 0.18275,
    "h": 328.4
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#8F268E
secondary
#58B959
accent
#E14847
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F268E

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

Preview Lab → · Contrast checker → · Palette generator →

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