#8A61E5#8A61E5

#8A61E5 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.0% C 0.192 H 294.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8A61E5
RGBrgb(138, 97, 229)
HSLhsl(259, 72%, 64%)
HSVhsv(259, 58%, 90%)
CMYKcmyk(39.7%, 57.6%, 0%, 10.2%)
CIE-LABlab(51.39, 45.72, -61.51)
CIE-LCHlch(51.39, 76.64, 306.62°)
OKLaboklab(60.02% 0.0786 -0.175)
OKLCHoklch(60.02% 0.192 294.2)
XYZxyz(28.8950, 19.6091, 76.3761)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61E5 #BCE561
analogous
#617AE5 #8A61E5 #CC61E5
triadic
#8A61E5 #E58A61 #61E58A
tetradic
#8A61E5 #E5617A #BCE561 #61E5CC
square
#8A61E5 #E5617A #BCE561 #61E5CC
split-complementary
#8A61E5 #E5CC61 #7AE561
monochromatic
#4A1DAF #632CDC #8A61E5 #B196EE #D8CAF6

Accessibility & contrast

On white

4.27
#8A61E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8A61E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61E5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61E5#FFFFFF#000000##000000
##8A61E51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7CE9
Deuteranopia (green-blind)
#2478E2
Tritanopia (blue-blind)
#727E9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a61e5;
/* rgb */ color: rgb(138, 97, 229);
/* oklch */ color: oklch(60.0% 0.192 294.2);
Tailwind
colors: {
  custom: {
    50: '#b18fee',
    500: '#8a61e5',
    950: '#000000',
  },
}
SCSS
$custom: #8a61e5;
$custom-light: #b18fee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61e5",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 229
  },
  "hsl": {
    "h": 258.636,
    "s": 71.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.19183,
    "h": 294.2
  },
  "luminance": 0.1961
}

Semantic roles & 50–950 ramp

primary
#8A61E5
secondary
#DAE8BA
accent
#D41298
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A61E5

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

Preview Lab → · Contrast checker → · Palette generator →

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