#8A61EF#8A61EF

#8A61EF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.7% C 0.204 H 292.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8A61EF
RGBrgb(138, 97, 239)
HSLhsl(257, 82%, 66%)
HSVhsv(257, 59%, 94%)
CMYKcmyk(42.3%, 59.4%, 0%, 6.3%)
CIE-LABlab(52.04, 48.39, -66.07)
CIE-LCHlch(52.04, 81.89, 306.22°)
OKLaboklab(60.71% 0.0783 -0.1884)
OKLCHoklch(60.71% 0.204 292.6)
XYZxyz(30.3317, 20.1838, 83.9424)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61EF #C6EF61
analogous
#617FEF #8A61EF #D161EF
triadic
#8A61EF #EF8A61 #61EF8A
tetradic
#8A61EF #EF617F #C6EF61 #61EFD1
square
#8A61EF #EF617F #C6EF61 #61EFD1
split-complementary
#8A61EF #EFD161 #7FEF61
monochromatic
#4614C2 #6129E9 #8A61EF #B399F5 #DCD0FA

Accessibility & contrast

On white

4.17
#8A61EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8A61EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61EF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61EF#FFFFFF#000000##000000
##8A61EF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#6E819F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a61ef;
/* rgb */ color: rgb(138, 97, 239);
/* oklch */ color: oklch(60.7% 0.204 292.6);
Tailwind
colors: {
  custom: {
    50: '#b28ff5',
    500: '#8a61ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a61ef;
$custom-light: #b28ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61ef",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 257.324,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.20403,
    "h": 292.6
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#8A61EF
secondary
#E0EDBE
accent
#DE08A0
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8A61EF

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

Preview Lab → · Contrast checker → · Palette generator →

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