#8F46BF#8F46BF

#8F46BF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.187 H 309.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8F46BF
RGBrgb(143, 70, 191)
HSLhsl(276, 49%, 51%)
HSVhsv(276, 63%, 75%)
CMYKcmyk(25.1%, 63.4%, 0%, 25.1%)
CIE-LABlab(44.21, 51.70, -51.28)
CIE-LCHlch(44.21, 72.82, 315.23°)
OKLaboklab(54.14% 0.1184 -0.1447)
OKLCHoklch(54.14% 0.187 309.3)
XYZxyz(22.9200, 13.9820, 50.7715)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46BF #76BF46
analogous
#5246BF #8F46BF #BF46B2
triadic
#8F46BF #BF8F46 #46BF8F
tetradic
#8F46BF #BF5246 #76BF46 #46B2BF
square
#8F46BF #BF5246 #76BF46 #46B2BF
split-complementary
#8F46BF #B2BF46 #46BF52
monochromatic
#4C2467 #6E3394 #8F46BF #AB73CF #C6A1DE

Accessibility & contrast

On white

5.53
#8F46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8F46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F46BF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F46BF#FFFFFF#000000##FFFFFF
##8F46BF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#346ABC
Tritanopia (blue-blind)
#885E7C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f46bf;
/* rgb */ color: rgb(143, 70, 191);
/* oklch */ color: oklch(54.1% 0.187 309.3);
Tailwind
colors: {
  custom: {
    50: '#b37ed3',
    500: '#8f46bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f46bf;
$custom-light: #b37ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46bf",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 276.198,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.18696,
    "h": 309.3
  },
  "luminance": 0.13982
}

Semantic roles & 50–950 ramp

primary
#8F46BF
secondary
#ABCB96
accent
#D85086
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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