#8049CC#8049CC

#8049CC is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.194 H 299.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8049CC
RGBrgb(128, 73, 204)
HSLhsl(265, 56%, 54%)
HSVhsv(265, 64%, 80%)
CMYKcmyk(37.3%, 64.2%, 0%, 20%)
CIE-LABlab(43.82, 49.99, -59.54)
CIE-LCHlch(43.82, 77.74, 310.02°)
OKLaboklab(53.74% 0.0941 -0.1695)
OKLCHoklch(53.74% 0.194 299)
XYZxyz(22.1810, 13.7137, 58.5934)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049CC #95CC49
analogous
#4954CC #8049CC #C249CC
triadic
#8049CC #CC8049 #49CC80
tetradic
#8049CC #CC4954 #95CC49 #49CCC2
square
#8049CC #CC4954 #95CC49 #49CCC2
split-complementary
#8049CC #CCC249 #54CC49
monochromatic
#462279 #622FA9 #8049CC #A179D9 #C3A9E7

Accessibility & contrast

On white

5.61
#8049CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8049CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049CC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049CC#FFFFFF#000000##FFFFFF
##8049CC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#6F6684
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8049cc;
/* rgb */ color: rgb(128, 73, 204);
/* oklch */ color: oklch(53.7% 0.194 299.0);
Tailwind
colors: {
  custom: {
    50: '#aa7fdc',
    500: '#8049cc',
    950: '#000000',
  },
}
SCSS
$custom: #8049cc;
$custom-light: #aa7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8049cc",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 265.191,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.19384,
    "h": 299
  },
  "luminance": 0.13714
}

Semantic roles & 50–950 ramp

primary
#8049CC
secondary
#BDD49D
accent
#E048A0
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8049CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8049CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva