#8F268B#8F268B

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

Color values

HEX#8F268B
RGBrgb(143, 38, 139)
HSLhsl(302, 58%, 35%)
HSVhsv(302, 73%, 56%)
CMYKcmyk(0%, 73.4%, 2.8%, 43.9%)
CIE-LABlab(36.16, 55.11, -33.02)
CIE-LCHlch(36.16, 64.25, 329.07°)
OKLaboklab(47.34% 0.1556 -0.0912)
OKLCHoklch(47.34% 0.18 329.6)
XYZxyz(16.6809, 9.0912, 25.2973)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F268B #268F2A
analogous
#5E268F #8F268B #8F2656
triadic
#8F268B #8B8F26 #268B8F
tetradic
#8F268B #8F5E26 #268F2A #26568F
square
#8F268B #8F5E26 #268F2A #26568F
split-complementary
#8F268B #568F26 #268F5E
monochromatic
#2E0C2D #5F195C #8F268B #BF33BA #D45CCF

Accessibility & contrast

On white

7.45
#8F268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8F268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F268B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F268B#FFFFFF#000000##FFFFFF
##8F268B1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#943456
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f268b;
/* rgb */ color: rgb(143, 38, 139);
/* oklch */ color: oklch(47.3% 0.180 329.6);
Tailwind
colors: {
  custom: {
    50: '#b36bad',
    500: '#8f268b',
    950: '#000000',
  },
}
SCSS
$custom: #8f268b;
$custom-light: #b36bad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f268b",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 302.286,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47341,
    "c": 0.18036,
    "h": 329.6
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#8F268B
secondary
#58B95C
accent
#E14C47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F268B

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

Preview Lab → · Contrast checker → · Palette generator →

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