#8E61EB#8E61EB

#8E61EB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.199 H 294.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8E61EB
RGBrgb(142, 97, 235)
HSLhsl(260, 78%, 65%)
HSVhsv(260, 59%, 92%)
CMYKcmyk(39.6%, 58.7%, 0%, 7.8%)
CIE-LABlab(52.17, 48.17, -63.60)
CIE-LCHlch(52.17, 79.79, 307.14°)
OKLaboklab(60.81% 0.0836 -0.181)
OKLCHoklch(60.81% 0.199 294.8)
XYZxyz(30.4215, 20.2977, 80.8962)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E61EB #BEEB61
analogous
#6179EB #8E61EB #D361EB
triadic
#8E61EB #EB8E61 #61EB8E
tetradic
#8E61EB #EB6179 #BEEB61 #61EBD3
square
#8E61EB #EB6179 #BEEB61 #61EBD3
split-complementary
#8E61EB #EBD361 #79EB61
monochromatic
#4D18BA #672BE4 #8E61EB #B597F2 #DCCEF9

Accessibility & contrast

On white

4.15
#8E61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8E61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E61EB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E61EB#FFFFFF#000000##000000
##8E61EB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#767F9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8e61eb;
/* rgb */ color: rgb(142, 97, 235);
/* oklch */ color: oklch(60.8% 0.199 294.8);
Tailwind
colors: {
  custom: {
    50: '#b590f2',
    500: '#8e61eb',
    950: '#000000',
  },
}
SCSS
$custom: #8e61eb;
$custom-light: #b590f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e61eb",
  "rgb": {
    "r": 142,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 259.565,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6081,
    "c": 0.1994,
    "h": 294.8
  },
  "luminance": 0.20298
}

Semantic roles & 50–950 ramp

primary
#8E61EB
secondary
#DCEBBD
accent
#DA0C97
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #8E61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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