#8F46BD#8F46BD

#8F46BD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.0% C 0.185 H 309.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8F46BD
RGBrgb(143, 70, 189)
HSLhsl(277, 47%, 51%)
HSVhsv(277, 63%, 74%)
CMYKcmyk(24.3%, 63%, 0%, 25.9%)
CIE-LABlab(44.08, 51.25, -50.32)
CIE-LCHlch(44.08, 71.83, 315.53°)
OKLaboklab(54.01% 0.1184 -0.1419)
OKLCHoklch(54.01% 0.185 309.9)
XYZxyz(22.7014, 13.8945, 49.6203)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46BD #74BD46
analogous
#5346BD #8F46BD #BD46AF
triadic
#8F46BD #BD8F46 #46BD8F
tetradic
#8F46BD #BD5346 #74BD46 #46AFBD
square
#8F46BD #BD5346 #74BD46 #46AFBD
split-complementary
#8F46BD #AFBD46 #46BD53
monochromatic
#4C2465 #6E3492 #8F46BD #AA73CD #C6A0DD

Accessibility & contrast

On white

5.56
#8F46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8F46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46BD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46BD#FFFFFF#000000##FFFFFF
##8F46BD1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0765C1
Deuteranopia (green-blind)
#3769BA
Tritanopia (blue-blind)
#895D7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f46bd;
/* rgb */ color: rgb(143, 70, 189);
/* oklch */ color: oklch(54.0% 0.185 309.9);
Tailwind
colors: {
  custom: {
    50: '#b37ed1',
    500: '#8f46bd',
    950: '#000000',
  },
}
SCSS
$custom: #8f46bd;
$custom-light: #b37ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46bd",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 276.807,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.18483,
    "h": 309.9
  },
  "luminance": 0.13894
}

Semantic roles & 50–950 ramp

primary
#8F46BD
secondary
#A9CA95
accent
#D75185
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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