#8F2394#8F2394

#8F2394 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.191 H 326.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8F2394
RGBrgb(143, 35, 148)
HSLhsl(297, 62%, 36%)
HSVhsv(297, 76%, 58%)
CMYKcmyk(3.4%, 76.4%, 0%, 42%)
CIE-LABlab(36.33, 57.65, -38.27)
CIE-LCHlch(36.33, 69.20, 326.43°)
OKLaboklab(47.63% 0.1584 -0.1064)
OKLCHoklch(47.63% 0.191 326.1)
XYZxyz(17.2737, 9.1810, 28.8735)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2394 #289423
analogous
#562394 #8F2394 #942360
triadic
#8F2394 #948F23 #23948F
tetradic
#8F2394 #945623 #289423 #236094
square
#8F2394 #945623 #289423 #236094
split-complementary
#8F2394 #609423 #239456
monochromatic
#2F0C31 #5F1763 #8F2394 #BF2FC5 #D25AD8

Accessibility & contrast

On white

7.40
#8F2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2394
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2394#FFFFFF#000000##FFFFFF
##8F23941.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#3E5A91
Tritanopia (blue-blind)
#93375A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2394;
/* rgb */ color: rgb(143, 35, 148);
/* oklch */ color: oklch(47.6% 0.191 326.1);
Tailwind
colors: {
  custom: {
    50: '#b36bb4',
    500: '#8f2394',
    950: '#000000',
  },
}
SCSS
$custom: #8f2394;
$custom-light: #b36bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2394",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 297.345,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47631,
    "c": 0.1908,
    "h": 326.1
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

primary
#8F2394
secondary
#5BBC57
accent
#E5434A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8F2394

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

Preview Lab → · Contrast checker → · Palette generator →

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