#8C49CB#8C49CB

#8C49CB is a mid, vivid violet. Relative luminance 0.147; OKLCH L 55.0% C 0.195 H 304.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8C49CB
RGBrgb(140, 73, 203)
HSLhsl(271, 56%, 54%)
HSVhsv(271, 64%, 80%)
CMYKcmyk(31%, 64%, 0%, 20.4%)
CIE-LABlab(45.15, 52.32, -56.74)
CIE-LCHlch(45.15, 77.18, 312.68°)
OKLaboklab(54.99% 0.1102 -0.1608)
OKLCHoklch(54.99% 0.195 304.4)
XYZxyz(23.9748, 14.6524, 58.0535)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C49CB #88CB49
analogous
#4B49CB #8C49CB #CB49C9
triadic
#8C49CB #CB8C49 #49CB8C
tetradic
#8C49CB #CB4B49 #88CB49 #49C9CB
square
#8C49CB #CB4B49 #88CB49 #49C9CB
split-complementary
#8C49CB #C9CB49 #49CB4B
monochromatic
#4E2277 #6D30A7 #8C49CB #AA79D9 #C8A8E6

Accessibility & contrast

On white

5.34
#8C49CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8C49CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C49CB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C49CB#FFFFFF#000000##FFFFFF
##8C49CB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#806583
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8c49cb;
/* rgb */ color: rgb(140, 73, 203);
/* oklch */ color: oklch(55.0% 0.195 304.4);
Tailwind
colors: {
  custom: {
    50: '#b280dc',
    500: '#8c49cb',
    950: '#000000',
  },
}
SCSS
$custom: #8c49cb;
$custom-light: #b280dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c49cb",
  "rgb": {
    "r": 140,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 270.923,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.19498,
    "h": 304.4
  },
  "luminance": 0.14652
}

Semantic roles & 50–950 ramp

primary
#8C49CB
secondary
#B7D49C
accent
#DF4992
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C49CB

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

Preview Lab → · Contrast checker → · Palette generator →

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