#8A61D6#8A61D6

#8A61D6 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.0% C 0.173 H 296.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8A61D6
RGBrgb(138, 97, 214)
HSLhsl(261, 59%, 61%)
HSVhsv(261, 55%, 84%)
CMYKcmyk(35.5%, 54.7%, 0%, 16.1%)
CIE-LABlab(50.46, 41.77, -54.52)
CIE-LCHlch(50.46, 68.68, 307.46°)
OKLaboklab(59.04% 0.0785 -0.1544)
OKLCHoklch(59.04% 0.173 296.9)
XYZxyz(26.8905, 18.8073, 65.8187)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61D6 #ADD661
analogous
#6172D6 #8A61D6 #C561D6
triadic
#8A61D6 #D68A61 #61D68A
tetradic
#8A61D6 #D66172 #ADD661 #61D6C5
square
#8A61D6 #D66172 #ADD661 #61D6C5
split-complementary
#8A61D6 #D6C561 #72D661
monochromatic
#4E2796 #6733C6 #8A61D6 #AE92E3 #D2C2EF

Accessibility & contrast

On white

4.41
#8A61D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#8A61D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61D6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61D6#FFFFFF#000000##000000
##8A61D61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D79DA
Deuteranopia (green-blind)
#3A77D3
Tritanopia (blue-blind)
#797992
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a61d6;
/* rgb */ color: rgb(138, 97, 214);
/* oklch */ color: oklch(59.0% 0.173 296.9);
Tailwind
colors: {
  custom: {
    50: '#b08fe3',
    500: '#8a61d6',
    950: '#000000',
  },
}
SCSS
$custom: #8a61d6;
$custom-light: #b08fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61d6",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 214
  },
  "hsl": {
    "h": 261.026,
    "s": 58.794,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59039,
    "c": 0.17324,
    "h": 296.9
  },
  "luminance": 0.18808
}

Semantic roles & 50–950 ramp

primary
#8A61D6
secondary
#D0DFB3
accent
#C61F8C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #8A61D6

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

Preview Lab → · Contrast checker → · Palette generator →

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