#8A61DC#8A61DC

#8A61DC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.181 H 295.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8A61DC
RGBrgb(138, 97, 220)
HSLhsl(260, 64%, 62%)
HSVhsv(260, 56%, 86%)
CMYKcmyk(37.3%, 55.9%, 0%, 13.7%)
CIE-LABlab(50.83, 43.34, -57.34)
CIE-LCHlch(50.83, 71.87, 307.08°)
OKLaboklab(59.43% 0.0786 -0.1627)
OKLCHoklch(59.43% 0.181 295.8)
XYZxyz(27.6709, 19.1195, 69.9288)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61DC #B3DC61
analogous
#6176DC #8A61DC #C861DC
triadic
#8A61DC #DC8A61 #61DC8A
tetradic
#8A61DC #DC6176 #B3DC61 #61DCC8
square
#8A61DC #DC6176 #B3DC61 #61DCC8
split-complementary
#8A61DC #DCC861 #76DC61
monochromatic
#4D239F #652FD1 #8A61DC #AF93E7 #D4C5F2

Accessibility & contrast

On white

4.35
#8A61DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8A61DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61DC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61DC#FFFFFF#000000##000000
##8A61DC1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#247AE0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#767B95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a61dc;
/* rgb */ color: rgb(138, 97, 220);
/* oklch */ color: oklch(59.4% 0.181 295.8);
Tailwind
colors: {
  custom: {
    50: '#b18fe7',
    500: '#8a61dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a61dc;
$custom-light: #b18fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61dc",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 260,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59426,
    "c": 0.18071,
    "h": 295.8
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#8A61DC
secondary
#D4E3B6
accent
#CC1A90
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A61DC

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

Preview Lab → · Contrast checker → · Palette generator →

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