#8F2398#8F2398

#8F2398 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.194 H 324.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8F2398
RGBrgb(143, 35, 152)
HSLhsl(295, 63%, 37%)
HSVhsv(295, 77%, 60%)
CMYKcmyk(5.9%, 77%, 0%, 40.4%)
CIE-LABlab(36.57, 58.35, -40.32)
CIE-LCHlch(36.57, 70.93, 325.36°)
OKLaboklab(47.88% 0.1582 -0.1124)
OKLCHoklch(47.88% 0.194 324.6)
XYZxyz(17.5958, 9.3098, 30.5699)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2398 #2C9823
analogous
#552398 #8F2398 #982367
triadic
#8F2398 #988F23 #23988F
tetradic
#8F2398 #985523 #2C9823 #236798
square
#8F2398 #985523 #2C9823 #236798
split-complementary
#8F2398 #679823 #239855
monochromatic
#310C35 #601866 #8F2398 #BE2ECA #D05CD9

Accessibility & contrast

On white

7.34
#8F2398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8F2398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2398
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2398#FFFFFF#000000##FFFFFF
##8F23981.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#92395D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2398;
/* rgb */ color: rgb(143, 35, 152);
/* oklch */ color: oklch(47.9% 0.194 324.6);
Tailwind
colors: {
  custom: {
    50: '#b36bb7',
    500: '#8f2398',
    950: '#000000',
  },
}
SCSS
$custom: #8f2398;
$custom-light: #b36bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2398",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 295.385,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47883,
    "c": 0.19403,
    "h": 324.6
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#8F2398
secondary
#61BE59
accent
#E6424F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2398

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

Preview Lab → · Contrast checker → · Palette generator →

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