#8F4FB3#8F4FB3

#8F4FB3 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.160 H 311.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8F4FB3
RGBrgb(143, 79, 179)
HSLhsl(278, 40%, 51%)
HSVhsv(278, 56%, 70%)
CMYKcmyk(20.1%, 55.9%, 0%, 29.8%)
CIE-LABlab(45.20, 44.39, -42.68)
CIE-LCHlch(45.20, 61.58, 316.13°)
OKLaboklab(54.64% 0.1069 -0.1196)
OKLCHoklch(54.64% 0.16 311.8)
XYZxyz(22.2589, 14.6868, 44.3013)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FB3 #73B34F
analogous
#5D4FB3 #8F4FB3 #B34FA5
triadic
#8F4FB3 #B38F4F #4FB38F
tetradic
#8F4FB3 #B35D4F #73B34F #4FA5B3
square
#8F4FB3 #B35D4F #73B34F #4FA5B3
split-complementary
#8F4FB3 #A5B34F #4FB35D
monochromatic
#4B295F #6D3B89 #8F4FB3 #AA7AC5 #C5A4D8

Accessibility & contrast

On white

5.33
#8F4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8F4FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FB3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FB3#FFFFFF#000000##FFFFFF
##8F4FB31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#8B6079
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f4fb3;
/* rgb */ color: rgb(143, 79, 179);
/* oklch */ color: oklch(54.6% 0.160 311.8);
Tailwind
colors: {
  custom: {
    50: '#b283ca',
    500: '#8f4fb3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fb3;
$custom-light: #b283ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fb3",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 278.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54635,
    "c": 0.16038,
    "h": 311.8
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#8F4FB3
secondary
#A9C599
accent
#D05883
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F4FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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