#8C49E1#8C49E1

#8C49E1 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.219 H 299.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8C49E1
RGBrgb(140, 73, 225)
HSLhsl(266, 72%, 58%)
HSVhsv(266, 68%, 88%)
CMYKcmyk(37.8%, 67.6%, 0%, 11.8%)
CIE-LABlab(46.68, 57.64, -66.86)
CIE-LCHlch(46.68, 88.27, 310.76°)
OKLaboklab(56.57% 0.1078 -0.1906)
OKLCHoklch(56.57% 0.219 299.5)
XYZxyz(26.7850, 15.7765, 72.8536)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C49E1 #9EE149
analogous
#4952E1 #8C49E1 #D849E1
triadic
#8C49E1 #E18C49 #49E18C
tetradic
#8C49E1 #E14952 #9EE149 #49E1D8
square
#8C49E1 #E14952 #9EE149 #49E1D8
split-complementary
#8C49E1 #E1D849 #52E149
monochromatic
#501997 #6C22CB #8C49E1 #AD7EEA #CEB2F2

Accessibility & contrast

On white

5.05
#8C49E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8C49E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C49E1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C49E1#FFFFFF#000000##FFFFFF
##8C49E11.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#006DDE
Tritanopia (blue-blind)
#796D8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8c49e1;
/* rgb */ color: rgb(140, 73, 225);
/* oklch */ color: oklch(56.6% 0.219 299.5);
Tailwind
colors: {
  custom: {
    50: '#b480eb',
    500: '#8c49e1',
    950: '#000000',
  },
}
SCSS
$custom: #8c49e1;
$custom-light: #b480eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c49e1",
  "rgb": {
    "r": 140,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 266.447,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.219,
    "h": 299.5
  },
  "luminance": 0.15777
}

Semantic roles & 50–950 ramp

primary
#8C49E1
secondary
#C6E1A5
accent
#EE399F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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