#8F4BAF#8F4BAF

#8F4BAF is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.8% C 0.162 H 313.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8F4BAF
RGBrgb(143, 75, 175)
HSLhsl(281, 40%, 49%)
HSVhsv(281, 57%, 69%)
CMYKcmyk(18.3%, 57.1%, 0%, 31.4%)
CIE-LABlab(44.19, 45.61, -41.94)
CIE-LCHlch(44.19, 61.96, 317.40°)
OKLaboklab(53.82% 0.112 -0.1174)
OKLCHoklch(53.82% 0.162 313.6)
XYZxyz(21.5803, 13.9675, 42.1083)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BAF #6BAF4B
analogous
#5D4BAF #8F4BAF #AF4B9D
triadic
#8F4BAF #AF8F4B #4BAF8F
tetradic
#8F4BAF #AF5D4B #6BAF4B #4B9DAF
square
#8F4BAF #AF5D4B #6BAF4B #4B9DAF
split-complementary
#8F4BAF #9DAF4B #4BAF5D
monochromatic
#492659 #6C3984 #8F4BAF #AA74C3 #C49FD6

Accessibility & contrast

On white

5.54
#8F4BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8F4BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BAF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BAF#FFFFFF#000000##FFFFFF
##8F4BAF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B2
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#8C5C76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f4baf;
/* rgb */ color: rgb(143, 75, 175);
/* oklch */ color: oklch(53.8% 0.162 313.6);
Tailwind
colors: {
  custom: {
    50: '#b280c7',
    500: '#8f4baf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4baf;
$custom-light: #b280c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4baf",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 280.8,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53817,
    "c": 0.16228,
    "h": 313.6
  },
  "luminance": 0.13967
}

Semantic roles & 50–950 ramp

primary
#8F4BAF
secondary
#A2C293
accent
#D0587E
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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