#8E61BA#8E61BA

#8E61BA is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.8% C 0.139 H 305.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8E61BA
RGBrgb(142, 97, 186)
HSLhsl(270, 39%, 55%)
HSVhsv(270, 48%, 73%)
CMYKcmyk(23.7%, 47.8%, 0%, 27.1%)
CIE-LABlab(49.31, 35.80, -40.26)
CIE-LCHlch(49.31, 53.87, 311.65°)
OKLaboklab(57.77% 0.0814 -0.1126)
OKLCHoklch(57.77% 0.139 305.8)
XYZxyz(24.2911, 17.8455, 48.6097)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E61BA #8DBA61
analogous
#6161BA #8E61BA #BA61B9
triadic
#8E61BA #BA8E61 #61BA8E
tetradic
#8E61BA #BA6161 #8DBA61 #61B9BA
square
#8E61BA #BA6161 #8DBA61 #61B9BA
split-complementary
#8E61BA #B9BA61 #61BA61
monochromatic
#513170 #6F439A #8E61BA #AC8CCD #CBB6DF

Accessibility & contrast

On white

4.60
#8E61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8E61BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E61BA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E61BA#FFFFFF#000000##FFFFFF
##8E61BA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#5575B8
Tritanopia (blue-blind)
#877085
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e61ba;
/* rgb */ color: rgb(142, 97, 186);
/* oklch */ color: oklch(57.8% 0.139 305.8);
Tailwind
colors: {
  custom: {
    50: '#b18fcf',
    500: '#8e61ba',
    950: '#000000',
  },
}
SCSS
$custom: #8e61ba;
$custom-light: #b18fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e61ba",
  "rgb": {
    "r": 142,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 270.337,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57772,
    "c": 0.13893,
    "h": 305.8
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#8E61BA
secondary
#BBCEA9
accent
#CF5993
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8E61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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