#8F4BA8#8F4BA8

#8F4BA8 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.4% C 0.155 H 316.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8F4BA8
RGBrgb(143, 75, 168)
HSLhsl(284, 38%, 48%)
HSVhsv(284, 55%, 66%)
CMYKcmyk(14.9%, 55.4%, 0%, 34.1%)
CIE-LABlab(43.80, 44.09, -38.42)
CIE-LCHlch(43.80, 58.48, 318.93°)
OKLaboklab(53.41% 0.1116 -0.1072)
OKLCHoklch(53.41% 0.155 316.2)
XYZxyz(20.9106, 13.6996, 38.5810)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BA8 #64A84B
analogous
#604BA8 #8F4BA8 #A84B93
triadic
#8F4BA8 #A88F4B #4BA88F
tetradic
#8F4BA8 #A8604B #64A84B #4B93A8
square
#8F4BA8 #A8604B #64A84B #4B93A8
split-complementary
#8F4BA8 #93A84B #4BA860
monochromatic
#472553 #6B387E #8F4BA8 #AA71BF #C39BD2

Accessibility & contrast

On white

5.62
#8F4BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8F4BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BA8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BA8#FFFFFF#000000##FFFFFF
##8F4BA81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AB
Deuteranopia (green-blind)
#4C6AA6
Tritanopia (blue-blind)
#8E5A72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f4ba8;
/* rgb */ color: rgb(143, 75, 168);
/* oklch */ color: oklch(53.4% 0.155 316.2);
Tailwind
colors: {
  custom: {
    50: '#b280c2',
    500: '#8f4ba8',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ba8;
$custom-light: #b280c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ba8",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 283.871,
    "s": 38.272,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.1547,
    "h": 316.2
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#8F4BA8
secondary
#9DBF90
accent
#CE5A79
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8F4BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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