#8F4FAF#8F4FAF

#8F4FAF is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.4% C 0.156 H 313.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8F4FAF
RGBrgb(143, 79, 175)
HSLhsl(280, 38%, 50%)
HSVhsv(280, 55%, 69%)
CMYKcmyk(18.3%, 54.9%, 0%, 31.4%)
CIE-LABlab(44.98, 43.50, -40.68)
CIE-LCHlch(44.98, 59.56, 316.92°)
OKLaboklab(54.4% 0.1066 -0.1138)
OKLCHoklch(54.4% 0.156 313.1)
XYZxyz(21.8602, 14.5273, 42.2016)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FAF #6FAF4F
analogous
#5F4FAF #8F4FAF #AF4F9F
triadic
#8F4FAF #AF8F4F #4FAF8F
tetradic
#8F4FAF #AF5F4F #6FAF4F #4F9FAF
square
#8F4FAF #AF5F4F #6FAF4F #4F9FAF
split-complementary
#8F4FAF #9FAF4F #4FAF5F
monochromatic
#4A295B #6D3C85 #8F4FAF #AA79C2 #C5A3D5

Accessibility & contrast

On white

5.38
#8F4FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8F4FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FAF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FAF#FFFFFF#000000##FFFFFF
##8F4FAF1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B2
Deuteranopia (green-blind)
#4B6CAD
Tritanopia (blue-blind)
#8C5F77
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4faf;
/* rgb */ color: rgb(143, 79, 175);
/* oklch */ color: oklch(54.4% 0.156 313.1);
Tailwind
colors: {
  custom: {
    50: '#b283c7',
    500: '#8f4faf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4faf;
$custom-light: #b283c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4faf",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 280,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.15591,
    "h": 313.1
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#8F4FAF
secondary
#A6C397
accent
#CE5A81
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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