#8A61E7#8A61E7

#8A61E7 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.194 H 293.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8A61E7
RGBrgb(138, 97, 231)
HSLhsl(258, 74%, 64%)
HSVhsv(258, 58%, 91%)
CMYKcmyk(40.3%, 58%, 0%, 9.4%)
CIE-LABlab(51.52, 46.25, -62.43)
CIE-LCHlch(51.52, 77.69, 306.53°)
OKLaboklab(60.16% 0.0786 -0.1777)
OKLCHoklch(60.16% 0.194 293.9)
XYZxyz(29.1759, 19.7215, 77.8552)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61E7 #BEE761
analogous
#617BE7 #8A61E7 #CD61E7
triadic
#8A61E7 #E78A61 #61E78A
tetradic
#8A61E7 #E7617B #BEE761 #61E7CD
square
#8A61E7 #E7617B #BEE761 #61E7CD
split-complementary
#8A61E7 #E7CD61 #7BE761
monochromatic
#491BB2 #632CDF #8A61E7 #B196EF #D9CBF7

Accessibility & contrast

On white

4.25
#8A61E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8A61E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61E7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61E7#FFFFFF#000000##000000
##8A61E71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#037CEB
Deuteranopia (green-blind)
#1F78E4
Tritanopia (blue-blind)
#727E9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a61e7;
/* rgb */ color: rgb(138, 97, 231);
/* oklch */ color: oklch(60.2% 0.194 293.9);
Tailwind
colors: {
  custom: {
    50: '#b28fef',
    500: '#8a61e7',
    950: '#000000',
  },
}
SCSS
$custom: #8a61e7;
$custom-light: #b28fef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61e7",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 258.358,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60159,
    "c": 0.19428,
    "h": 293.9
  },
  "luminance": 0.19722
}

Semantic roles & 50–950 ramp

primary
#8A61E7
secondary
#DBE9BB
accent
#D61099
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A61E7

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

Preview Lab → · Contrast checker → · Palette generator →

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