#8D68E1#8D68E1

#8D68E1 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.2% C 0.177 H 294.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8D68E1
RGBrgb(141, 104, 225)
HSLhsl(258, 67%, 65%)
HSVhsv(258, 54%, 88%)
CMYKcmyk(37.3%, 53.8%, 0%, 11.8%)
CIE-LABlab(52.95, 41.42, -56.74)
CIE-LCHlch(52.95, 70.25, 306.13°)
OKLaboklab(61.16% 0.074 -0.1609)
OKLCHoklch(61.16% 0.177 294.7)
XYZxyz(29.5219, 20.9990, 73.7174)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D68E1 #BCE168
analogous
#6880E1 #8D68E1 #CA68E1
triadic
#8D68E1 #E18D68 #68E18D
tetradic
#8D68E1 #E16880 #BCE168 #68E1CA
square
#8D68E1 #E16880 #BCE168 #68E1CA
split-complementary
#8D68E1 #E1CA68 #80E168
monochromatic
#4C22AC #6635D7 #8D68E1 #B49BEB #DACEF5

Accessibility & contrast

On white

4.04
#8D68E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8D68E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D68E1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D68E1#FFFFFF#000000##000000
##8D68E11.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3280E5
Deuteranopia (green-blind)
#3C7DDE
Tritanopia (blue-blind)
#78819B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d68e1;
/* rgb */ color: rgb(141, 104, 225);
/* oklch */ color: oklch(61.2% 0.177 294.7);
Tailwind
colors: {
  custom: {
    50: '#b394eb',
    500: '#8d68e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d68e1;
$custom-light: #b394eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d68e1",
  "rgb": {
    "r": 141,
    "g": 104,
    "b": 225
  },
  "hsl": {
    "h": 258.347,
    "s": 66.851,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61159,
    "c": 0.17709,
    "h": 294.7
  },
  "luminance": 0.21
}

Semantic roles & 50–950 ramp

primary
#8D68E1
secondary
#DBE7BE
accent
#CF1796
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D68E1

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

Preview Lab → · Contrast checker → · Palette generator →

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