#8F3097#8F3097

#8F3097 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.178 H 324.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8F3097
RGBrgb(143, 48, 151)
HSLhsl(295, 52%, 39%)
HSVhsv(295, 68%, 59%)
CMYKcmyk(5.3%, 68.2%, 0%, 40.8%)
CIE-LABlab(38.18, 53.44, -37.15)
CIE-LCHlch(38.18, 65.08, 325.19°)
OKLaboklab(49.01% 0.1451 -0.1033)
OKLCHoklch(49.01% 0.178 324.6)
XYZxyz(17.9701, 10.1890, 30.2923)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3097 #389730
analogous
#5C3097 #8F3097 #97306C
triadic
#8F3097 #978F30 #30978F
tetradic
#8F3097 #975C30 #389730 #306C97
square
#8F3097 #975C30 #389730 #306C97
split-complementary
#8F3097 #6C9730 #30975C
monochromatic
#37123A #632169 #8F3097 #B941C3 #CA70D2

Accessibility & contrast

On white

6.91
#8F3097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F3097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3097
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3097#FFFFFF#000000##FFFFFF
##8F30971.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19529A
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#924060
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f3097;
/* rgb */ color: rgb(143, 48, 151);
/* oklch */ color: oklch(49.0% 0.178 324.6);
Tailwind
colors: {
  custom: {
    50: '#b370b6',
    500: '#8f3097',
    950: '#000000',
  },
}
SCSS
$custom: #8f3097;
$custom-light: #b370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3097",
  "rgb": {
    "r": 143,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 295.34,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49012,
    "c": 0.17812,
    "h": 324.6
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#8F3097
secondary
#70B96A
accent
#DB4D58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F3097

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

Preview Lab → · Contrast checker → · Palette generator →

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