#8A61E8#8A61E8

#8A61E8 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.196 H 293.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8A61E8
RGBrgb(138, 97, 232)
HSLhsl(258, 75%, 65%)
HSVhsv(258, 58%, 91%)
CMYKcmyk(40.5%, 58.2%, 0%, 9%)
CIE-LABlab(51.59, 46.51, -62.89)
CIE-LCHlch(51.59, 78.22, 306.49°)
OKLaboklab(60.23% 0.0786 -0.179)
OKLCHoklch(60.23% 0.196 293.7)
XYZxyz(29.3175, 19.7781, 78.6012)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61E8 #BFE861
analogous
#617CE8 #8A61E8 #CD61E8
triadic
#8A61E8 #E88A61 #61E88A
tetradic
#8A61E8 #E8617C #BFE861 #61E8CD
square
#8A61E8 #E8617C #BFE861 #61E8CD
split-complementary
#8A61E8 #E8CD61 #7CE861
monochromatic
#491AB4 #622CE0 #8A61E8 #B296F0 #D9CCF8

Accessibility & contrast

On white

4.24
#8A61E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8A61E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61E8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61E8#FFFFFF#000000##000000
##8A61E81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#1D79E5
Tritanopia (blue-blind)
#717F9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a61e8;
/* rgb */ color: rgb(138, 97, 232);
/* oklch */ color: oklch(60.2% 0.196 293.7);
Tailwind
colors: {
  custom: {
    50: '#b28ff0',
    500: '#8a61e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a61e8;
$custom-light: #b28ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61e8",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 258.222,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.1955,
    "h": 293.7
  },
  "luminance": 0.19779
}

Semantic roles & 50–950 ramp

primary
#8A61E8
secondary
#DCEABB
accent
#D70F9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A61E8

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

Preview Lab → · Contrast checker → · Palette generator →

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