#8E46BC#8E46BC

#8E46BC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.183 H 309.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8E46BC
RGBrgb(142, 70, 188)
HSLhsl(277, 47%, 51%)
HSVhsv(277, 63%, 74%)
CMYKcmyk(24.5%, 62.8%, 0%, 26.3%)
CIE-LABlab(43.89, 50.79, -50.05)
CIE-LCHlch(43.89, 71.31, 315.42°)
OKLaboklab(53.82% 0.1172 -0.1411)
OKLCHoklch(53.82% 0.183 309.7)
XYZxyz(22.4208, 13.7624, 49.0425)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46BC #74BC46
analogous
#5346BC #8E46BC #BC46AF
triadic
#8E46BC #BC8E46 #46BC8E
tetradic
#8E46BC #BC5346 #74BC46 #46AFBC
square
#8E46BC #BC5346 #74BC46 #46AFBC
split-complementary
#8E46BC #AFBC46 #46BC53
monochromatic
#4B2464 #6D3490 #8E46BC #A973CC #C5A0DD

Accessibility & contrast

On white

5.60
#8E46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E46BC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46BC#FFFFFF#000000##FFFFFF
##8E46BC1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C0
Deuteranopia (green-blind)
#3669B9
Tritanopia (blue-blind)
#885D7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e46bc;
/* rgb */ color: rgb(142, 70, 188);
/* oklch */ color: oklch(53.8% 0.183 309.7);
Tailwind
colors: {
  custom: {
    50: '#b37ed1',
    500: '#8e46bc',
    950: '#000000',
  },
}
SCSS
$custom: #8e46bc;
$custom-light: #b37ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46bc",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 276.61,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.18344,
    "h": 309.7
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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