#8D68EC#8D68EC

#8D68EC is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.9% C 0.191 H 292.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8D68EC
RGBrgb(141, 104, 236)
HSLhsl(257, 78%, 67%)
HSVhsv(257, 56%, 93%)
CMYKcmyk(40.3%, 55.9%, 0%, 7.5%)
CIE-LABlab(53.62, 44.35, -61.84)
CIE-LCHlch(53.62, 76.10, 305.65°)
OKLaboklab(61.87% 0.0743 -0.1758)
OKLCHoklch(61.87% 0.191 292.9)
XYZxyz(31.0711, 21.6187, 81.8764)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D68EC #C7EC68
analogous
#6885EC #8D68EC #CF68EC
triadic
#8D68EC #EC8D68 #68EC8D
tetradic
#8D68EC #EC6885 #C7EC68 #68ECCF
square
#8D68EC #EC6885 #C7EC68 #68ECCF
split-complementary
#8D68EC #ECCF68 #85EC68
monochromatic
#4818C1 #6432E5 #8D68EC #B69EF3 #DFD5FA

Accessibility & contrast

On white

3.94
#8D68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8D68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D68EC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D68EC#FFFFFF#000000##000000
##8D68EC1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F0
Deuteranopia (green-blind)
#2D7EE9
Tritanopia (blue-blind)
#7484A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d68ec;
/* rgb */ color: rgb(141, 104, 236);
/* oklch */ color: oklch(61.9% 0.191 292.9);
Tailwind
colors: {
  custom: {
    50: '#b494f3',
    500: '#8d68ec',
    950: '#000000',
  },
}
SCSS
$custom: #8d68ec;
$custom-light: #b494f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d68ec",
  "rgb": {
    "r": 141,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 256.818,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61871,
    "c": 0.19089,
    "h": 292.9
  },
  "luminance": 0.21619
}

Semantic roles & 50–950 ramp

primary
#8D68EC
secondary
#E1EDC3
accent
#DA0CA0
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #8D68EC

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

Preview Lab → · Contrast checker → · Palette generator →

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