#8A61EE#8A61EE

#8A61EE is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.203 H 292.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8A61EE
RGBrgb(138, 97, 238)
HSLhsl(257, 81%, 66%)
HSVhsv(257, 59%, 93%)
CMYKcmyk(42%, 59.2%, 0%, 6.7%)
CIE-LABlab(51.98, 48.12, -65.62)
CIE-LCHlch(51.98, 81.37, 306.25°)
OKLaboklab(60.64% 0.0784 -0.1871)
OKLCHoklch(60.64% 0.203 292.7)
XYZxyz(30.1843, 20.1249, 83.1665)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61EE #C5EE61
analogous
#617EEE #8A61EE #D061EE
triadic
#8A61EE #EE8A61 #61EE8A
tetradic
#8A61EE #EE617E #C5EE61 #61EED0
square
#8A61EE #EE617E #C5EE61 #61EED0
split-complementary
#8A61EE #EED061 #7EEE61
monochromatic
#4615C0 #612AE8 #8A61EE #B398F4 #DCD0FA

Accessibility & contrast

On white

4.18
#8A61EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8A61EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61EE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61EE#FFFFFF#000000##000000
##8A61EE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#0479EB
Tritanopia (blue-blind)
#6E809E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a61ee;
/* rgb */ color: rgb(138, 97, 238);
/* oklch */ color: oklch(60.6% 0.203 292.7);
Tailwind
colors: {
  custom: {
    50: '#b28ff4',
    500: '#8a61ee',
    950: '#000000',
  },
}
SCSS
$custom: #8a61ee;
$custom-light: #b28ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61ee",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 238
  },
  "hsl": {
    "h": 257.447,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60639,
    "c": 0.20281,
    "h": 292.7
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#8A61EE
secondary
#DFEDBE
accent
#DD099F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #8A61EE

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

Preview Lab → · Contrast checker → · Palette generator →

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