#8F4BB5#8F4BB5

#8F4BB5 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.169 H 311.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8F4BB5
RGBrgb(143, 75, 181)
HSLhsl(278, 42%, 50%)
HSVhsv(278, 59%, 71%)
CMYKcmyk(21%, 58.6%, 0%, 29%)
CIE-LABlab(44.53, 46.94, -44.92)
CIE-LCHlch(44.53, 64.97, 316.26°)
OKLaboklab(54.18% 0.1122 -0.1261)
OKLCHoklch(54.18% 0.169 311.7)
XYZxyz(22.1828, 14.2085, 45.2811)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BB5 #71B54B
analogous
#5A4BB5 #8F4BB5 #B54BA6
triadic
#8F4BB5 #B58F4B #4BB58F
tetradic
#8F4BB5 #B55A4B #71B54B #4BA6B5
square
#8F4BB5 #B55A4B #71B54B #4BA6B5
split-complementary
#8F4BB5 #A6B54B #4BB55A
monochromatic
#4B275F #6D398A #8F4BB5 #AA76C7 #C5A2D9

Accessibility & contrast

On white

5.47
#8F4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8F4BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BB5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BB5#FFFFFF#000000##FFFFFF
##8F4BB51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2866B8
Deuteranopia (green-blind)
#436BB2
Tritanopia (blue-blind)
#8B5E79
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4bb5;
/* rgb */ color: rgb(143, 75, 181);
/* oklch */ color: oklch(54.2% 0.169 311.7);
Tailwind
colors: {
  custom: {
    50: '#b381cc',
    500: '#8f4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bb5;
$custom-light: #b381cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bb5",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 278.491,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.16882,
    "h": 311.7
  },
  "luminance": 0.14208
}

Semantic roles & 50–950 ramp

primary
#8F4BB5
secondary
#A7C696
accent
#D25682
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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