#8F46BE#8F46BE

#8F46BE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 54.1% C 0.186 H 309.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8F46BE
RGBrgb(143, 70, 190)
HSLhsl(277, 48%, 51%)
HSVhsv(277, 63%, 75%)
CMYKcmyk(24.7%, 63.2%, 0%, 25.5%)
CIE-LABlab(44.14, 51.48, -50.80)
CIE-LCHlch(44.14, 72.32, 315.38°)
OKLaboklab(54.07% 0.1184 -0.1433)
OKLCHoklch(54.07% 0.186 309.6)
XYZxyz(22.8103, 13.9381, 50.1939)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46BE #75BE46
analogous
#5346BE #8F46BE #BE46B1
triadic
#8F46BE #BE8F46 #46BE8F
tetradic
#8F46BE #BE5346 #75BE46 #46B1BE
square
#8F46BE #BE5346 #75BE46 #46B1BE
split-complementary
#8F46BE #B1BE46 #46BE53
monochromatic
#4C2466 #6E3493 #8F46BE #AA73CE #C6A1DE

Accessibility & contrast

On white

5.54
#8F46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8F46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46BE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46BE#FFFFFF#000000##FFFFFF
##8F46BE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C2
Deuteranopia (green-blind)
#3569BB
Tritanopia (blue-blind)
#885E7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f46be;
/* rgb */ color: rgb(143, 70, 190);
/* oklch */ color: oklch(54.1% 0.186 309.6);
Tailwind
colors: {
  custom: {
    50: '#b37ed2',
    500: '#8f46be',
    950: '#000000',
  },
}
SCSS
$custom: #8f46be;
$custom-light: #b37ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46be",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 276.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.1859,
    "h": 309.6
  },
  "luminance": 0.13938
}

Semantic roles & 50–950 ramp

primary
#8F46BE
secondary
#AACA95
accent
#D85085
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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