#8A61EA#8A61EA

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

Color values

HEX#8A61EA
RGBrgb(138, 97, 234)
HSLhsl(258, 77%, 65%)
HSVhsv(258, 59%, 92%)
CMYKcmyk(41%, 58.5%, 0%, 8.2%)
CIE-LABlab(51.72, 47.05, -63.80)
CIE-LCHlch(51.72, 79.27, 306.41°)
OKLaboklab(60.36% 0.0785 -0.1817)
OKLCHoklch(60.36% 0.198 293.4)
XYZxyz(29.6032, 19.8924, 80.1058)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61EA #C1EA61
analogous
#617DEA #8A61EA #CE61EA
triadic
#8A61EA #EA8A61 #61EA8A
tetradic
#8A61EA #EA617D #C1EA61 #61EACE
square
#8A61EA #EA617D #C1EA61 #61EACE
split-complementary
#8A61EA #EACE61 #7DEA61
monochromatic
#4818B8 #622BE3 #8A61EA #B297F1 #DACDF8

Accessibility & contrast

On white

4.22
#8A61EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8A61EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61EA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61EA#FFFFFF#000000##000000
##8A61EA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#1779E7
Tritanopia (blue-blind)
#707F9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8a61ea;
/* rgb */ color: rgb(138, 97, 234);
/* oklch */ color: oklch(60.4% 0.198 293.4);
Tailwind
colors: {
  custom: {
    50: '#b28ff1',
    500: '#8a61ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a61ea;
$custom-light: #b28ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61ea",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 257.956,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.19795,
    "h": 293.4
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#8A61EA
secondary
#DDEBBC
accent
#D90D9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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