#8F45BF#8F45BF

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

Color values

HEX#8F45BF
RGBrgb(143, 69, 191)
HSLhsl(276, 49%, 51%)
HSVhsv(276, 64%, 75%)
CMYKcmyk(25.1%, 63.9%, 0%, 25.1%)
CIE-LABlab(44.03, 52.19, -51.57)
CIE-LCHlch(44.03, 73.37, 315.34°)
OKLaboklab(54.01% 0.1196 -0.1456)
OKLCHoklch(54.01% 0.188 309.4)
XYZxyz(22.8579, 13.8579, 50.7508)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F45BF #75BF45
analogous
#5245BF #8F45BF #BF45B2
triadic
#8F45BF #BF8F45 #45BF8F
tetradic
#8F45BF #BF5245 #75BF45 #45B2BF
square
#8F45BF #BF5245 #75BF45 #45B2BF
split-complementary
#8F45BF #B2BF45 #45BF52
monochromatic
#4C2366 #6E3394 #8F45BF #AA73CF #C6A0DE

Accessibility & contrast

On white

5.57
#8F45BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8F45BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F45BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F45BF#FFFFFF#000000##FFFFFF
##8F45BF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f45bf;
/* rgb */ color: rgb(143, 69, 191);
/* oklch */ color: oklch(54.0% 0.188 309.4);
Tailwind
colors: {
  custom: {
    50: '#b37dd3',
    500: '#8f45bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f45bf;
$custom-light: #b37dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f45bf",
  "rgb": {
    "r": 143,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 276.393,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54011,
    "c": 0.18837,
    "h": 309.4
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

primary
#8F45BF
secondary
#AACB95
accent
#D84F85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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