#8F4BBC#8F4BBC

#8F4BBC is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.176 H 309.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8F4BBC
RGBrgb(143, 75, 188)
HSLhsl(276, 46%, 52%)
HSVhsv(276, 60%, 74%)
CMYKcmyk(23.9%, 60.1%, 0%, 26.3%)
CIE-LABlab(44.95, 48.51, -48.35)
CIE-LCHlch(44.95, 68.49, 315.10°)
OKLaboklab(54.62% 0.1123 -0.1362)
OKLCHoklch(54.62% 0.177 309.5)
XYZxyz(22.9191, 14.5030, 49.1592)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BBC #78BC4B
analogous
#574BBC #8F4BBC #BC4BB1
triadic
#8F4BBC #BC8F4B #4BBC8F
tetradic
#8F4BBC #BC574B #78BC4B #4BB1BC
square
#8F4BBC #BC574B #78BC4B #4BB1BC
split-complementary
#8F4BBC #B1BC4B #4BBC57
monochromatic
#4D2666 #6E3793 #8F4BBC #AB78CD #C7A4DD

Accessibility & contrast

On white

5.38
#8F4BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8F4BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BBC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BBC#FFFFFF#000000##FFFFFF
##8F4BBC1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#89607C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4bbc;
/* rgb */ color: rgb(143, 75, 188);
/* oklch */ color: oklch(54.6% 0.176 309.5);
Tailwind
colors: {
  custom: {
    50: '#b381d1',
    500: '#8f4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bbc;
$custom-light: #b381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bbc",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 276.106,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54617,
    "c": 0.1765,
    "h": 309.5
  },
  "luminance": 0.14503
}

Semantic roles & 50–950 ramp

primary
#8F4BBC
secondary
#ACCA99
accent
#D55287
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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