#8F46BC#8F46BC

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

Color values

HEX#8F46BC
RGBrgb(143, 70, 188)
HSLhsl(277, 47%, 51%)
HSVhsv(277, 63%, 74%)
CMYKcmyk(23.9%, 62.8%, 0%, 26.3%)
CIE-LABlab(44.02, 51.03, -49.84)
CIE-LCHlch(44.02, 71.33, 315.68°)
OKLaboklab(53.94% 0.1185 -0.1405)
OKLCHoklch(53.94% 0.184 310.1)
XYZxyz(22.5932, 13.8513, 49.0506)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F46BC #73BC46
analogous
#5446BC #8F46BC #BC46AE
triadic
#8F46BC #BC8F46 #46BC8F
tetradic
#8F46BC #BC5446 #73BC46 #46AEBC
square
#8F46BC #BC5446 #73BC46 #46AEBC
split-complementary
#8F46BC #AEBC46 #46BC54
monochromatic
#4B2464 #6D3490 #8F46BC #AA73CC #C5A0DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F46BC#FFFFFF#000000##FFFFFF
##8F46BC1.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)
#0B65C0
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#895D7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f46bc;
/* rgb */ color: rgb(143, 70, 188);
/* oklch */ color: oklch(53.9% 0.184 310.1);
Tailwind
colors: {
  custom: {
    50: '#b37ed1',
    500: '#8f46bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f46bc;
$custom-light: #b37ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f46bc",
  "rgb": {
    "r": 143,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 277.119,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.18377,
    "h": 310.1
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#8F46BC
secondary
#A9C995
accent
#D65184
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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