#8F3D97#8F3D97

#8F3D97 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.5% C 0.160 H 324.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8F3D97
RGBrgb(143, 61, 151)
HSLhsl(295, 42%, 42%)
HSVhsv(295, 60%, 59%)
CMYKcmyk(5.3%, 59.6%, 0%, 40.8%)
CIE-LABlab(40.27, 47.66, -33.84)
CIE-LCHlch(40.27, 58.46, 324.62°)
OKLaboklab(50.53% 0.1292 -0.0938)
OKLCHoklch(50.53% 0.16 324)
XYZxyz(18.5819, 11.4125, 30.4962)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3D97 #45973D
analogous
#623D97 #8F3D97 #973D72
triadic
#8F3D97 #978F3D #3D978F
tetradic
#8F3D97 #97623D #45973D #3D7297
square
#8F3D97 #97623D #45973D #3D7297
split-complementary
#8F3D97 #72973D #3D9762
monochromatic
#3C1A40 #662B6B #8F3D97 #B256BB #C682CC

Accessibility & contrast

On white

6.40
#8F3D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8F3D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3D97
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3D97#FFFFFF#000000##FFFFFF
##8F3D971.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599A
Deuteranopia (green-blind)
#4B6295
Tritanopia (blue-blind)
#924A64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f3d97;
/* rgb */ color: rgb(143, 61, 151);
/* oklch */ color: oklch(50.5% 0.160 324.0);
Tailwind
colors: {
  custom: {
    50: '#b277b6',
    500: '#8f3d97',
    950: '#000000',
  },
}
SCSS
$custom: #8f3d97;
$custom-light: #b277b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3d97",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 294.667,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.15963,
    "h": 324
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#8F3D97
secondary
#7FB779
accent
#D25661
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8F3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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