#8C49CD#8C49CD

#8C49CD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.1% C 0.197 H 303.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8C49CD
RGBrgb(140, 73, 205)
HSLhsl(270, 57%, 55%)
HSVhsv(270, 64%, 80%)
CMYKcmyk(31.7%, 64.4%, 0%, 19.6%)
CIE-LABlab(45.29, 52.80, -57.68)
CIE-LCHlch(45.29, 78.19, 312.47°)
OKLaboklab(55.13% 0.1101 -0.1636)
OKLCHoklch(55.13% 0.197 303.9)
XYZxyz(24.2147, 14.7484, 59.3168)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C49CD #8ACD49
analogous
#4A49CD #8C49CD #CD49CC
triadic
#8C49CD #CD8C49 #49CD8C
tetradic
#8C49CD #CD4A49 #8ACD49 #49CCCD
square
#8C49CD #CD4A49 #8ACD49 #49CCCD
split-complementary
#8C49CD #CCCD49 #49CD4A
monochromatic
#4E227A #6D2FAA #8C49CD #AA79DA #C9A9E7

Accessibility & contrast

On white

5.32
#8C49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8C49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C49CD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C49CD#FFFFFF#000000##FFFFFF
##8C49CD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#806685
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8c49cd;
/* rgb */ color: rgb(140, 73, 205);
/* oklch */ color: oklch(55.1% 0.197 303.9);
Tailwind
colors: {
  custom: {
    50: '#b280dd',
    500: '#8c49cd',
    950: '#000000',
  },
}
SCSS
$custom: #8c49cd;
$custom-light: #b280dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8c49cd",
  "rgb": {
    "r": 140,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 270.455,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5513,
    "c": 0.19718,
    "h": 303.9
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#8C49CD
secondary
#B8D59D
accent
#E04893
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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