#8F45BC#8F45BC

#8F45BC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.185 H 310.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8F45BC
RGBrgb(143, 69, 188)
HSLhsl(277, 47%, 50%)
HSVhsv(277, 63%, 74%)
CMYKcmyk(23.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(43.84, 51.52, -50.12)
CIE-LCHlch(43.84, 71.88, 315.79°)
OKLaboklab(53.81% 0.1197 -0.1413)
OKLCHoklch(53.81% 0.185 310.3)
XYZxyz(22.5312, 13.7272, 49.0299)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F45BC #72BC45
analogous
#5345BC #8F45BC #BC45AE
triadic
#8F45BC #BC8F45 #45BC8F
tetradic
#8F45BC #BC5345 #72BC45 #45AEBC
square
#8F45BC #BC5345 #72BC45 #45AEBC
split-complementary
#8F45BC #AEBC45 #45BC53
monochromatic
#4B2463 #6D3490 #8F45BC #AA72CC #C59FDC

Accessibility & contrast

On white

5.61
#8F45BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8F45BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F45BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F45BC#FFFFFF#000000##FFFFFF
##8F45BC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564C0
Deuteranopia (green-blind)
#3669B9
Tritanopia (blue-blind)
#895C7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f45bc;
/* rgb */ color: rgb(143, 69, 188);
/* oklch */ color: oklch(53.8% 0.185 310.3);
Tailwind
colors: {
  custom: {
    50: '#b37dd1',
    500: '#8f45bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f45bc;
$custom-light: #b37dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f45bc",
  "rgb": {
    "r": 143,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 277.311,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.1852,
    "h": 310.3
  },
  "luminance": 0.13727
}

Semantic roles & 50–950 ramp

primary
#8F45BC
secondary
#A8C994
accent
#D75184
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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