#8D68EB#8D68EB

#8D68EB is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.8% C 0.190 H 293.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8D68EB
RGBrgb(141, 104, 235)
HSLhsl(257, 77%, 66%)
HSVhsv(257, 56%, 92%)
CMYKcmyk(40%, 55.7%, 0%, 7.8%)
CIE-LABlab(53.56, 44.08, -61.38)
CIE-LCHlch(53.56, 75.57, 305.69°)
OKLaboklab(61.81% 0.0743 -0.1745)
OKLCHoklch(61.81% 0.19 293)
XYZxyz(30.9262, 21.5607, 81.1134)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D68EB #C6EB68
analogous
#6885EB #8D68EB #CF68EB
triadic
#8D68EB #EB8D68 #68EB8D
tetradic
#8D68EB #EB6885 #C6EB68 #68EBCF
square
#8D68EB #EB6885 #C6EB68 #68EBCF
split-complementary
#8D68EB #EBCF68 #85EB68
monochromatic
#4819BF #6432E4 #8D68EB #B69EF2 #DFD4F9

Accessibility & contrast

On white

3.95
#8D68EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8D68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D68EB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D68EB#FFFFFF#000000##000000
##8D68EB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282EF
Deuteranopia (green-blind)
#2E7EE8
Tritanopia (blue-blind)
#7484A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d68eb;
/* rgb */ color: rgb(141, 104, 235);
/* oklch */ color: oklch(61.8% 0.190 293.0);
Tailwind
colors: {
  custom: {
    50: '#b494f2',
    500: '#8d68eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d68eb;
$custom-light: #b494f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d68eb",
  "rgb": {
    "r": 141,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 256.947,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.18964,
    "h": 293
  },
  "luminance": 0.21562
}

Semantic roles & 50–950 ramp

primary
#8D68EB
secondary
#E1EDC2
accent
#D90D9F
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8D68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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