#8A61D9#8A61D9

#8A61D9 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.2% C 0.177 H 296.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A61D9
RGBrgb(138, 97, 217)
HSLhsl(261, 61%, 62%)
HSVhsv(261, 55%, 85%)
CMYKcmyk(36.4%, 55.3%, 0%, 14.9%)
CIE-LABlab(50.64, 42.55, -55.93)
CIE-LCHlch(50.64, 70.28, 307.26°)
OKLaboklab(59.23% 0.0786 -0.1586)
OKLCHoklch(59.23% 0.177 296.4)
XYZxyz(27.2771, 18.9620, 67.8551)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61D9 #B0D961
analogous
#6174D9 #8A61D9 #C661D9
triadic
#8A61D9 #D98A61 #61D98A
tetradic
#8A61D9 #D96174 #B0D961 #61D9C6
square
#8A61D9 #D96174 #B0D961 #61D9C6
split-complementary
#8A61D9 #D9C661 #74D961
monochromatic
#4D259A #6631CC #8A61D9 #AF92E5 #D3C4F1

Accessibility & contrast

On white

4.38
#8A61D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A61D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61D9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61D9#FFFFFF#000000##000000
##8A61D91.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DD
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#777A94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a61d9;
/* rgb */ color: rgb(138, 97, 217);
/* oklch */ color: oklch(59.2% 0.177 296.4);
Tailwind
colors: {
  custom: {
    50: '#b08fe5',
    500: '#8a61d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a61d9;
$custom-light: #b08fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61d9",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 217
  },
  "hsl": {
    "h": 260.5,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59232,
    "c": 0.17698,
    "h": 296.4
  },
  "luminance": 0.18962
}

Semantic roles & 50–950 ramp

primary
#8A61D9
secondary
#D2E1B5
accent
#C91D8E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8A61D9

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

Preview Lab → · Contrast checker → · Palette generator →

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