#8D61EC#8D61EC

#8D61EC is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.8% C 0.201 H 294.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8D61EC
RGBrgb(141, 97, 236)
HSLhsl(259, 79%, 65%)
HSVhsv(259, 59%, 93%)
CMYKcmyk(40.3%, 58.9%, 0%, 7.5%)
CIE-LABlab(52.14, 48.22, -64.22)
CIE-LCHlch(52.14, 80.31, 306.90°)
OKLaboklab(60.78% 0.0823 -0.1829)
OKLCHoklch(60.78% 0.201 294.2)
XYZxyz(30.3955, 20.2675, 81.6512)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D61EC #C0EC61
analogous
#617AEC #8D61EC #D361EC
triadic
#8D61EC #EC8D61 #61EC8D
tetradic
#8D61EC #EC617A #C0EC61 #61ECD3
square
#8D61EC #EC617A #C0EC61 #61ECD3
split-complementary
#8D61EC #ECD361 #7AEC61
monochromatic
#4B17BC #662AE5 #8D61EC #B498F3 #DCCEF9

Accessibility & contrast

On white

4.16
#8D61EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8D61EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D61EC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D61EC#FFFFFF#000000##000000
##8D61EC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#197AE9
Tritanopia (blue-blind)
#74809D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d61ec;
/* rgb */ color: rgb(141, 97, 236);
/* oklch */ color: oklch(60.8% 0.201 294.2);
Tailwind
colors: {
  custom: {
    50: '#b490f3',
    500: '#8d61ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d61ec;
$custom-light: #b490f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d61ec",
  "rgb": {
    "r": 141,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 258.993,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60783,
    "c": 0.20054,
    "h": 294.2
  },
  "luminance": 0.20268
}

Semantic roles & 50–950 ramp

primary
#8D61EC
secondary
#DDECBD
accent
#DB0B99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #8D61EC

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

Preview Lab → · Contrast checker → · Palette generator →

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