#8F4BBD#8F4BBD

#8F4BBD is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.178 H 309.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8F4BBD
RGBrgb(143, 75, 189)
HSLhsl(276, 46%, 52%)
HSVhsv(276, 60%, 74%)
CMYKcmyk(24.3%, 60.3%, 0%, 25.9%)
CIE-LABlab(45.01, 48.74, -48.84)
CIE-LCHlch(45.01, 69.00, 314.94°)
OKLaboklab(54.68% 0.1123 -0.1376)
OKLCHoklch(54.68% 0.178 309.2)
XYZxyz(23.0273, 14.5463, 49.7289)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BBD #79BD4B
analogous
#564BBD #8F4BBD #BD4BB2
triadic
#8F4BBD #BD8F4B #4BBD8F
tetradic
#8F4BBD #BD564B #79BD4B #4BB2BD
square
#8F4BBD #BD564B #79BD4B #4BB2BD
split-complementary
#8F4BBD #B2BD4B #4BBD56
monochromatic
#4D2668 #6E3694 #8F4BBD #AB78CD #C7A5DE

Accessibility & contrast

On white

5.37
#8F4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F4BBD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BBD#FFFFFF#000000##FFFFFF
##8F4BBD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C1
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#89617D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4bbd;
/* rgb */ color: rgb(143, 75, 189);
/* oklch */ color: oklch(54.7% 0.178 309.2);
Tailwind
colors: {
  custom: {
    50: '#b381d1',
    500: '#8f4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bbd;
$custom-light: #b381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bbd",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 275.789,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.17759,
    "h": 309.2
  },
  "luminance": 0.14546
}

Semantic roles & 50–950 ramp

primary
#8F4BBD
secondary
#ADCB99
accent
#D65287
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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