#8D61DB#8D61DB

#8D61DB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.7% C 0.180 H 297.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8D61DB
RGBrgb(141, 97, 219)
HSLhsl(262, 63%, 62%)
HSVhsv(262, 56%, 86%)
CMYKcmyk(35.6%, 55.7%, 0%, 14.1%)
CIE-LABlab(51.07, 43.78, -56.37)
CIE-LCHlch(51.07, 71.37, 307.83°)
OKLaboklab(59.65% 0.0824 -0.1598)
OKLCHoklch(59.65% 0.18 297.3)
XYZxyz(28.0422, 19.3262, 69.2570)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D61DB #AFDB61
analogous
#6172DB #8D61DB #CA61DB
triadic
#8D61DB #DB8D61 #61DB8D
tetradic
#8D61DB #DB6172 #AFDB61 #61DBCA
square
#8D61DB #DB6172 #AFDB61 #61DBCA
split-complementary
#8D61DB #DBCA61 #72DB61
monochromatic
#50249E #692FD0 #8D61DB #B193E6 #D5C5F2

Accessibility & contrast

On white

4.32
#8D61DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#8D61DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D61DB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D61DB#FFFFFF#000000##000000
##8D61DB1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#7B7A95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d61db;
/* rgb */ color: rgb(141, 97, 219);
/* oklch */ color: oklch(59.7% 0.180 297.3);
Tailwind
colors: {
  custom: {
    50: '#b38fe7',
    500: '#8d61db',
    950: '#000000',
  },
}
SCSS
$custom: #8d61db;
$custom-light: #b38fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d61db",
  "rgb": {
    "r": 141,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 261.639,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59654,
    "c": 0.1798,
    "h": 297.3
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#8D61DB
secondary
#D2E2B5
accent
#CB1B8B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D61DB

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

Preview Lab → · Contrast checker → · Palette generator →

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