#8A61E9#8A61E9

#8A61E9 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.197 H 293.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8A61E9
RGBrgb(138, 97, 233)
HSLhsl(258, 76%, 65%)
HSVhsv(258, 58%, 91%)
CMYKcmyk(40.8%, 58.4%, 0%, 8.6%)
CIE-LABlab(51.65, 46.78, -63.34)
CIE-LCHlch(51.65, 78.75, 306.45°)
OKLaboklab(60.3% 0.0785 -0.1804)
OKLCHoklch(60.3% 0.197 293.5)
XYZxyz(29.4600, 19.8351, 79.3514)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61E9 #C0E961
analogous
#617CE9 #8A61E9 #CE61E9
triadic
#8A61E9 #E98A61 #61E98A
tetradic
#8A61E9 #E9617C #C0E961 #61E9CE
square
#8A61E9 #E9617C #C0E961 #61E9CE
split-complementary
#8A61E9 #E9CE61 #7CE961
monochromatic
#4919B6 #622BE2 #8A61E9 #B297F0 #DACCF8

Accessibility & contrast

On white

4.23
#8A61E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8A61E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61E9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61E9#FFFFFF#000000##000000
##8A61E91.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DED
Deuteranopia (green-blind)
#1A79E6
Tritanopia (blue-blind)
#717F9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a61e9;
/* rgb */ color: rgb(138, 97, 233);
/* oklch */ color: oklch(60.3% 0.197 293.5);
Tailwind
colors: {
  custom: {
    50: '#b28ff1',
    500: '#8a61e9',
    950: '#000000',
  },
}
SCSS
$custom: #8a61e9;
$custom-light: #b28ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61e9",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 233
  },
  "hsl": {
    "h": 258.088,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60295,
    "c": 0.19672,
    "h": 293.5
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#8A61E9
secondary
#DCEABC
accent
#D80E9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A61E9

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

Preview Lab → · Contrast checker → · Palette generator →

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