#8D61E2#8D61E2

#8D61E2 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.188 H 296.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8D61E2
RGBrgb(141, 97, 226)
HSLhsl(260, 69%, 63%)
HSVhsv(260, 57%, 89%)
CMYKcmyk(37.6%, 57.1%, 0%, 11.4%)
CIE-LABlab(51.50, 45.60, -59.63)
CIE-LCHlch(51.50, 75.07, 307.40°)
OKLaboklab(60.11% 0.0825 -0.1694)
OKLCHoklch(60.11% 0.188 296)
XYZxyz(28.9831, 19.7026, 74.2127)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D61E2 #B6E261
analogous
#6175E2 #8D61E2 #CD61E2
triadic
#8D61E2 #E28D61 #61E28D
tetradic
#8D61E2 #E26175 #B6E261 #61E2CD
square
#8D61E2 #E26175 #B6E261 #61E2CD
split-complementary
#8D61E2 #E2CD61 #75E261
monochromatic
#4E1FA9 #682DD9 #8D61E2 #B295EB #D8C8F5

Accessibility & contrast

On white

4.25
#8D61E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8D61E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D61E2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D61E2#FFFFFF#000000##000000
##8D61E21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7CE6
Deuteranopia (green-blind)
#2E79DF
Tritanopia (blue-blind)
#787C98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d61e2;
/* rgb */ color: rgb(141, 97, 226);
/* oklch */ color: oklch(60.1% 0.188 296.0);
Tailwind
colors: {
  custom: {
    50: '#b38fec',
    500: '#8d61e2',
    950: '#000000',
  },
}
SCSS
$custom: #8d61e2;
$custom-light: #b38fec;
$custom-dark: #000000;
JSON
{
  "hex": "#8d61e2",
  "rgb": {
    "r": 141,
    "g": 97,
    "b": 226
  },
  "hsl": {
    "h": 260.465,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.18839,
    "h": 296
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#8D61E2
secondary
#D7E6B8
accent
#D11591
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D61E2

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

Preview Lab → · Contrast checker → · Palette generator →

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