#8F46BB#8F46BB

#8F46BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.183 H 310.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8F46BB
RGBrgb(143, 70, 187)
HSLhsl(277, 46%, 50%)
HSVhsv(277, 63%, 73%)
CMYKcmyk(23.5%, 62.6%, 0%, 26.7%)
CIE-LABlab(43.96, 50.80, -49.35)
CIE-LCHlch(43.96, 70.83, 315.83°)
OKLaboklab(53.88% 0.1185 -0.1391)
OKLCHoklch(53.88% 0.183 310.4)
XYZxyz(22.4858, 13.8083, 48.4848)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46BB #72BB46
analogous
#5446BB #8F46BB #BB46AC
triadic
#8F46BB #BB8F46 #46BB8F
tetradic
#8F46BB #BB5446 #72BB46 #46ACBB
square
#8F46BB #BB5446 #72BB46 #46ACBB
split-complementary
#8F46BB #ACBB46 #46BB54
monochromatic
#4B2462 #6D358F #8F46BB #AA73CB #C5A0DC

Accessibility & contrast

On white

5.58
#8F46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8F46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46BB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46BB#FFFFFF#000000##FFFFFF
##8F46BB1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E65BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#895D7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f46bb;
/* rgb */ color: rgb(143, 70, 187);
/* oklch */ color: oklch(53.9% 0.183 310.4);
Tailwind
colors: {
  custom: {
    50: '#b37ed0',
    500: '#8f46bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f46bb;
$custom-light: #b37ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46bb",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 277.436,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.1827,
    "h": 310.4
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#8F46BB
secondary
#A8C894
accent
#D65284
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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