#8A61DE#8A61DE

#8A61DE is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.183 H 295.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A61DE
RGBrgb(138, 97, 222)
HSLhsl(260, 65%, 63%)
HSVhsv(260, 56%, 87%)
CMYKcmyk(37.8%, 56.3%, 0%, 12.9%)
CIE-LABlab(50.95, 43.86, -58.27)
CIE-LCHlch(50.95, 72.93, 306.97°)
OKLaboklab(59.56% 0.0786 -0.1655)
OKLCHoklch(59.56% 0.183 295.4)
XYZxyz(27.9373, 19.2260, 71.3322)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61DE #B5DE61
analogous
#6176DE #8A61DE #C861DE
triadic
#8A61DE #DE8A61 #61DE8A
tetradic
#8A61DE #DE6176 #B5DE61 #61DEC8
square
#8A61DE #DE6176 #B5DE61 #61DEC8
split-complementary
#8A61DE #DEC861 #76DE61
monochromatic
#4C22A3 #652ED3 #8A61DE #AF94E9 #D5C6F3

Accessibility & contrast

On white

4.33
#8A61DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8A61DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61DE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61DE#FFFFFF#000000##000000
##8A61DE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#217AE2
Deuteranopia (green-blind)
#3078DB
Tritanopia (blue-blind)
#757B96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a61de;
/* rgb */ color: rgb(138, 97, 222);
/* oklch */ color: oklch(59.6% 0.183 295.4);
Tailwind
colors: {
  custom: {
    50: '#b18fe9',
    500: '#8a61de',
    950: '#000000',
  },
}
SCSS
$custom: #8a61de;
$custom-light: #b18fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61de",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 222
  },
  "hsl": {
    "h": 259.68,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.18319,
    "h": 295.4
  },
  "luminance": 0.19227
}

Semantic roles & 50–950 ramp

primary
#8A61DE
secondary
#D5E4B7
accent
#CD1892
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A61DE

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

Preview Lab → · Contrast checker → · Palette generator →

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