#8E4FBC#8E4FBC

#8E4FBC is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.170 H 308.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8E4FBC
RGBrgb(142, 79, 188)
HSLhsl(275, 45%, 52%)
HSVhsv(275, 58%, 74%)
CMYKcmyk(24.5%, 58%, 0%, 26.3%)
CIE-LABlab(45.60, 46.19, -47.31)
CIE-LCHlch(45.60, 66.12, 314.31°)
OKLaboklab(55.07% 0.1059 -0.1332)
OKLCHoklch(55.07% 0.17 308.5)
XYZxyz(23.0266, 14.9739, 49.2444)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FBC #7DBC4F
analogous
#584FBC #8E4FBC #BC4FB3
triadic
#8E4FBC #BC8E4F #4FBC8E
tetradic
#8E4FBC #BC584F #7DBC4F #4FB3BC
square
#8E4FBC #BC584F #7DBC4F #4FB3BC
split-complementary
#8E4FBC #B3BC4F #4FBC58
monochromatic
#4D2869 #6E3995 #8E4FBC #AA7BCD #C7A8DE

Accessibility & contrast

On white

5.26
#8E4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8E4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FBC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FBC#FFFFFF#000000##FFFFFF
##8E4FBC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769C0
Deuteranopia (green-blind)
#406DB9
Tritanopia (blue-blind)
#87637E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e4fbc;
/* rgb */ color: rgb(142, 79, 188);
/* oklch */ color: oklch(55.1% 0.170 308.5);
Tailwind
colors: {
  custom: {
    50: '#b283d1',
    500: '#8e4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fbc;
$custom-light: #b283d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fbc",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 274.679,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55066,
    "c": 0.17016,
    "h": 308.5
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#8E4FBC
secondary
#B0CB9C
accent
#D5538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8E4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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