#8A61D1#8A61D1

#8A61D1 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.167 H 298.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8A61D1
RGBrgb(138, 97, 209)
HSLhsl(262, 55%, 60%)
HSVhsv(262, 54%, 82%)
CMYKcmyk(34%, 53.6%, 0%, 18%)
CIE-LABlab(50.16, 40.47, -52.15)
CIE-LCHlch(50.16, 66.01, 307.82°)
OKLaboklab(58.72% 0.0783 -0.1475)
OKLCHoklch(58.72% 0.167 298)
XYZxyz(26.2617, 18.5558, 62.5073)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61D1 #A8D161
analogous
#6170D1 #8A61D1 #C261D1
triadic
#8A61D1 #D18A61 #61D18A
tetradic
#8A61D1 #D16170 #A8D161 #61D1C2
square
#8A61D1 #D16170 #A8D161 #61D1C2
split-complementary
#8A61D1 #D1C261 #70D161
monochromatic
#4E298E #6837BE #8A61D1 #AD90DF #D0C0ED

Accessibility & contrast

On white

4.46
#8A61D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8A61D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61D1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61D1#FFFFFF#000000##000000
##8A61D11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3478D5
Deuteranopia (green-blind)
#4076CE
Tritanopia (blue-blind)
#7A7790
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a61d1;
/* rgb */ color: rgb(138, 97, 209);
/* oklch */ color: oklch(58.7% 0.167 298.0);
Tailwind
colors: {
  custom: {
    50: '#b08fe0',
    500: '#8a61d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a61d1;
$custom-light: #b08fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61d1",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 209
  },
  "hsl": {
    "h": 261.964,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.58724,
    "c": 0.16698,
    "h": 298
  },
  "luminance": 0.18556
}

Semantic roles & 50–950 ramp

primary
#8A61D1
secondary
#CDDCB1
accent
#DE4AA8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A61D1

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

Preview Lab → · Contrast checker → · Palette generator →

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