#8F269C#8F269C

#8F269C is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.194 H 323.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8F269C
RGBrgb(143, 38, 156)
HSLhsl(293, 61%, 38%)
HSVhsv(293, 76%, 61%)
CMYKcmyk(8.3%, 75.6%, 0%, 38.8%)
CIE-LABlab(37.16, 58.08, -41.80)
CIE-LCHlch(37.16, 71.56, 324.26°)
OKLaboklab(48.38% 0.1552 -0.1167)
OKLCHoklch(48.38% 0.194 323)
XYZxyz(18.0210, 9.6272, 32.3551)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F269C #339C26
analogous
#54269C #8F269C #9C266E
triadic
#8F269C #9C8F26 #269C8F
tetradic
#8F269C #9C5426 #339C26 #266E9C
square
#8F269C #9C5426 #339C26 #266E9C
split-complementary
#8F269C #6E9C26 #269C54
monochromatic
#350E3A #621A6B #8F269C #BC32CD #CC63D9

Accessibility & contrast

On white

7.18
#8F269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F269C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F269C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F269C#FFFFFF#000000##FFFFFF
##8F269C1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#3A5B99
Tritanopia (blue-blind)
#913C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f269c;
/* rgb */ color: rgb(143, 38, 156);
/* oklch */ color: oklch(48.4% 0.194 323.0);
Tailwind
colors: {
  custom: {
    50: '#b36cba',
    500: '#8f269c',
    950: '#000000',
  },
}
SCSS
$custom: #8f269c;
$custom-light: #b36cba;
$custom-dark: #000000;
JSON
{
  "hex": "#8f269c",
  "rgb": {
    "r": 143,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 293.39,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48383,
    "c": 0.19421,
    "h": 323
  },
  "luminance": 0.09626
}

Semantic roles & 50–950 ramp

primary
#8F269C
secondary
#6ABF5F
accent
#E44455
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8F269C

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

Preview Lab → · Contrast checker → · Palette generator →

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