#8A61EB#8A61EB

#8A61EB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.4% C 0.199 H 293.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8A61EB
RGBrgb(138, 97, 235)
HSLhsl(258, 78%, 65%)
HSVhsv(258, 59%, 92%)
CMYKcmyk(41.3%, 58.7%, 0%, 7.8%)
CIE-LABlab(51.78, 47.32, -64.26)
CIE-LCHlch(51.78, 79.80, 306.37°)
OKLaboklab(60.43% 0.0785 -0.1831)
OKLCHoklch(60.43% 0.199 293.2)
XYZxyz(29.7473, 19.9500, 80.8646)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61EB #C2EB61
analogous
#617DEB #8A61EB #CF61EB
triadic
#8A61EB #EB8A61 #61EB8A
tetradic
#8A61EB #EB617D #C2EB61 #61EBCF
square
#8A61EB #EB617D #C2EB61 #61EBCF
split-complementary
#8A61EB #EBCF61 #7DEB61
monochromatic
#4818BA #622BE4 #8A61EB #B297F2 #DACEF9

Accessibility & contrast

On white

4.21
#8A61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8A61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61EB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61EB#FFFFFF#000000##000000
##8A61EB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#1479E8
Tritanopia (blue-blind)
#707F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a61eb;
/* rgb */ color: rgb(138, 97, 235);
/* oklch */ color: oklch(60.4% 0.199 293.2);
Tailwind
colors: {
  custom: {
    50: '#b28ff2',
    500: '#8a61eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a61eb;
$custom-light: #b28ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61eb",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 257.826,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60432,
    "c": 0.19917,
    "h": 293.2
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#8A61EB
secondary
#DDEBBD
accent
#DA0C9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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