#8D64ED#8D64ED

#8D64ED is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.3% C 0.198 H 293.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8D64ED
RGBrgb(141, 100, 237)
HSLhsl(258, 79%, 66%)
HSVhsv(258, 58%, 93%)
CMYKcmyk(40.5%, 57.8%, 0%, 7.1%)
CIE-LABlab(52.83, 46.84, -63.67)
CIE-LCHlch(52.83, 79.04, 306.34°)
OKLaboklab(61.31% 0.0789 -0.1812)
OKLCHoklch(61.31% 0.198 293.5)
XYZxyz(30.8236, 20.8907, 82.5126)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D64ED #C4ED64
analogous
#647FED #8D64ED #D164ED
triadic
#8D64ED #ED8D64 #64ED8D
tetradic
#8D64ED #ED647F #C4ED64 #64EDD1
square
#8D64ED #ED647F #C4ED64 #64EDD1
split-complementary
#8D64ED #EDD164 #7FED64
monochromatic
#4916C0 #652DE7 #8D64ED #B59BF3 #DED2FA

Accessibility & contrast

On white

4.06
#8D64ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8D64ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D64ED
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D64ED#FFFFFF#000000##000000
##8D64ED1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0480F1
Deuteranopia (green-blind)
#207CEA
Tritanopia (blue-blind)
#74829F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d64ed;
/* rgb */ color: rgb(141, 100, 237);
/* oklch */ color: oklch(61.3% 0.198 293.5);
Tailwind
colors: {
  custom: {
    50: '#b492f4',
    500: '#8d64ed',
    950: '#000000',
  },
}
SCSS
$custom: #8d64ed;
$custom-light: #b492f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d64ed",
  "rgb": {
    "r": 141,
    "g": 100,
    "b": 237
  },
  "hsl": {
    "h": 257.956,
    "s": 79.191,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.19766,
    "h": 293.5
  },
  "luminance": 0.20891
}

Semantic roles & 50–950 ramp

primary
#8D64ED
secondary
#DFEDC0
accent
#DB0A9D
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D64ED

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

Preview Lab → · Contrast checker → · Palette generator →

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