#8D61E4#8D61E4

#8D61E4 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.2% C 0.191 H 295.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D61E4
RGBrgb(141, 97, 228)
HSLhsl(260, 71%, 64%)
HSVhsv(260, 57%, 89%)
CMYKcmyk(38.2%, 57.5%, 0%, 10.6%)
CIE-LABlab(51.63, 46.12, -60.56)
CIE-LCHlch(51.63, 76.12, 307.29°)
OKLaboklab(60.24% 0.0825 -0.1721)
OKLCHoklch(60.24% 0.191 295.6)
XYZxyz(29.2592, 19.8130, 75.6665)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D61E4 #B8E461
analogous
#6176E4 #8D61E4 #CF61E4
triadic
#8D61E4 #E48D61 #61E48D
tetradic
#8D61E4 #E46176 #B8E461 #61E4CF
square
#8D61E4 #E46176 #B8E461 #61E4CF
split-complementary
#8D61E4 #E4CF61 #76E461
monochromatic
#4E1EAD #672DDB #8D61E4 #B395ED #D8CAF6

Accessibility & contrast

On white

4.23
#8D61E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8D61E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D61E4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D61E4#FFFFFF#000000##000000
##8D61E41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#157CE8
Deuteranopia (green-blind)
#2B79E1
Tritanopia (blue-blind)
#787D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d61e4;
/* rgb */ color: rgb(141, 97, 228);
/* oklch */ color: oklch(60.2% 0.191 295.6);
Tailwind
colors: {
  custom: {
    50: '#b38fed',
    500: '#8d61e4',
    950: '#000000',
  },
}
SCSS
$custom: #8d61e4;
$custom-light: #b38fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d61e4",
  "rgb": {
    "r": 141,
    "g": 97,
    "b": 228
  },
  "hsl": {
    "h": 260.153,
    "s": 70.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60243,
    "c": 0.19083,
    "h": 295.6
  },
  "luminance": 0.19814
}

Semantic roles & 50–950 ramp

primary
#8D61E4
secondary
#D8E7B9
accent
#D31392
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D61E4

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

Preview Lab → · Contrast checker → · Palette generator →

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