#8A61D2#8A61D2

#8A61D2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.168 H 297.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8A61D2
RGBrgb(138, 97, 210)
HSLhsl(262, 56%, 60%)
HSVhsv(262, 54%, 82%)
CMYKcmyk(34.3%, 53.8%, 0%, 17.6%)
CIE-LABlab(50.22, 40.73, -52.62)
CIE-LCHlch(50.22, 66.54, 307.74°)
OKLaboklab(58.79% 0.0783 -0.1489)
OKLCHoklch(58.79% 0.168 297.8)
XYZxyz(26.3859, 18.6055, 63.1613)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A61D2 #A9D261
analogous
#6170D2 #8A61D2 #C361D2
triadic
#8A61D2 #D28A61 #61D28A
tetradic
#8A61D2 #D26170 #A9D261 #61D2C3
square
#8A61D2 #D26170 #A9D261 #61D2C3
split-complementary
#8A61D2 #D2C361 #70D261
monochromatic
#4E2990 #6836BF #8A61D2 #AD91E0 #D1C0ED

Accessibility & contrast

On white

4.45
#8A61D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8A61D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A61D2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A61D2#FFFFFF#000000##000000
##8A61D21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3278D6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#7A7890
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8a61d2;
/* rgb */ color: rgb(138, 97, 210);
/* oklch */ color: oklch(58.8% 0.168 297.8);
Tailwind
colors: {
  custom: {
    50: '#b08fe0',
    500: '#8a61d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a61d2;
$custom-light: #b08fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a61d2",
  "rgb": {
    "r": 138,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 261.77,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58786,
    "c": 0.16823,
    "h": 297.8
  },
  "luminance": 0.18606
}

Semantic roles & 50–950 ramp

primary
#8A61D2
secondary
#CDDDB2
accent
#C32289
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A61D2

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

Preview Lab → · Contrast checker → · Palette generator →

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