#8C49CA#8C49CA

#8C49CA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.194 H 304.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8C49CA
RGBrgb(140, 73, 202)
HSLhsl(271, 55%, 54%)
HSVhsv(271, 64%, 79%)
CMYKcmyk(30.7%, 63.9%, 0%, 20.8%)
CIE-LABlab(45.09, 52.09, -56.27)
CIE-LCHlch(45.09, 76.67, 312.79°)
OKLaboklab(54.92% 0.1103 -0.1595)
OKLCHoklch(54.92% 0.194 304.7)
XYZxyz(23.8561, 14.6049, 57.4279)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C49CA #87CA49
analogous
#4C49CA #8C49CA #CA49C8
triadic
#8C49CA #CA8C49 #49CA8C
tetradic
#8C49CA #CA4C49 #87CA49 #49C8CA
square
#8C49CA #CA4C49 #87CA49 #49C8CA
split-complementary
#8C49CA #C8CA49 #49CA4C
monochromatic
#4E2276 #6D30A6 #8C49CA #AA78D8 #C8A8E6

Accessibility & contrast

On white

5.36
#8C49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8C49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C49CA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C49CA#FFFFFF#000000##FFFFFF
##8C49CA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#266BC7
Tritanopia (blue-blind)
#816483
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8c49ca;
/* rgb */ color: rgb(140, 73, 202);
/* oklch */ color: oklch(54.9% 0.194 304.7);
Tailwind
colors: {
  custom: {
    50: '#b280db',
    500: '#8c49ca',
    950: '#000000',
  },
}
SCSS
$custom: #8c49ca;
$custom-light: #b280db;
$custom-dark: #000000;
JSON
{
  "hex": "#8c49ca",
  "rgb": {
    "r": 140,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 271.163,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54922,
    "c": 0.19389,
    "h": 304.7
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#8C49CA
secondary
#B6D39C
accent
#DE4A91
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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