#8F4FBB#8F4FBB

#8F4FBB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.169 H 309.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8F4FBB
RGBrgb(143, 79, 187)
HSLhsl(276, 44%, 52%)
HSVhsv(276, 58%, 73%)
CMYKcmyk(23.5%, 57.8%, 0%, 26.7%)
CIE-LABlab(45.66, 46.21, -46.62)
CIE-LCHlch(45.66, 65.64, 314.74°)
OKLaboklab(55.12% 0.1072 -0.1311)
OKLCHoklch(55.12% 0.169 309.3)
XYZxyz(23.0916, 15.0198, 48.6867)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FBB #7BBB4F
analogous
#594FBB #8F4FBB #BB4FB1
triadic
#8F4FBB #BB8F4F #4FBB8F
tetradic
#8F4FBB #BB594F #7BBB4F #4FB1BB
square
#8F4FBB #BB594F #7BBB4F #4FB1BB
split-complementary
#8F4FBB #B1BB4F #4FBB59
monochromatic
#4E2868 #6F3994 #8F4FBB #AB7BCC #C7A7DD

Accessibility & contrast

On white

5.25
#8F4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8F4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FBB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FBB#FFFFFF#000000##FFFFFF
##8F4FBB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#426DB8
Tritanopia (blue-blind)
#89637D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4fbb;
/* rgb */ color: rgb(143, 79, 187);
/* oklch */ color: oklch(55.1% 0.169 309.3);
Tailwind
colors: {
  custom: {
    50: '#b383d0',
    500: '#8f4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fbb;
$custom-light: #b383d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fbb",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 275.556,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5512,
    "c": 0.16935,
    "h": 309.3
  },
  "luminance": 0.15019
}

Semantic roles & 50–950 ramp

primary
#8F4FBB
secondary
#AFCA9B
accent
#D45488
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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