#8D68E6#8D68E6

#8D68E6 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.5% C 0.183 H 293.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8D68E6
RGBrgb(141, 104, 230)
HSLhsl(258, 72%, 65%)
HSVhsv(258, 55%, 90%)
CMYKcmyk(38.7%, 54.8%, 0%, 9.8%)
CIE-LABlab(53.25, 42.75, -59.07)
CIE-LCHlch(53.25, 72.91, 305.89°)
OKLaboklab(61.48% 0.0742 -0.1677)
OKLCHoklch(61.48% 0.183 293.9)
XYZxyz(30.2140, 21.2758, 77.3623)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D68E6 #C1E668
analogous
#6882E6 #8D68E6 #CC68E6
triadic
#8D68E6 #E68D68 #68E68D
tetradic
#8D68E6 #E66882 #C1E668 #68E6CC
square
#8D68E6 #E66882 #C1E668 #68E6CC
split-complementary
#8D68E6 #E6CC68 #82E668
monochromatic
#4B1EB6 #6533DD #8D68E6 #B59DEF #DCD1F7

Accessibility & contrast

On white

4.00
#8D68E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#8D68E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D68E6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D68E6#FFFFFF#000000##000000
##8D68E61.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EA
Deuteranopia (green-blind)
#367DE3
Tritanopia (blue-blind)
#76829D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8d68e6;
/* rgb */ color: rgb(141, 104, 230);
/* oklch */ color: oklch(61.5% 0.183 293.9);
Tailwind
colors: {
  custom: {
    50: '#b394ef',
    500: '#8d68e6',
    950: '#000000',
  },
}
SCSS
$custom: #8d68e6;
$custom-light: #b394ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d68e6",
  "rgb": {
    "r": 141,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 257.619,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61479,
    "c": 0.18338,
    "h": 293.9
  },
  "luminance": 0.21277
}

Semantic roles & 50–950 ramp

primary
#8D68E6
secondary
#DEEAC0
accent
#D4129B
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D68E6

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

Preview Lab → · Contrast checker → · Palette generator →

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