#8049CD#8049CD

#8049CD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.195 H 298.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8049CD
RGBrgb(128, 73, 205)
HSLhsl(265, 57%, 55%)
HSVhsv(265, 64%, 80%)
CMYKcmyk(37.6%, 64.4%, 0%, 19.6%)
CIE-LABlab(43.89, 50.25, -60.00)
CIE-LCHlch(43.89, 78.26, 309.94°)
OKLaboklab(53.81% 0.094 -0.1708)
OKLCHoklch(53.81% 0.195 298.8)
XYZxyz(22.3013, 13.7618, 59.2271)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049CD #96CD49
analogous
#4954CD #8049CD #C249CD
triadic
#8049CD #CD8049 #49CD80
tetradic
#8049CD #CD4954 #96CD49 #49CDC2
square
#8049CD #CD4954 #96CD49 #49CDC2
split-complementary
#8049CD #CDC249 #54CD49
monochromatic
#46227A #622FAA #8049CD #A279DA #C3A9E7

Accessibility & contrast

On white

5.60
#8049CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8049CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049CD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049CD#FFFFFF#000000##FFFFFF
##8049CD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#6E6784
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8049cd;
/* rgb */ color: rgb(128, 73, 205);
/* oklch */ color: oklch(53.8% 0.195 298.8);
Tailwind
colors: {
  custom: {
    50: '#aa7fdd',
    500: '#8049cd',
    950: '#000000',
  },
}
SCSS
$custom: #8049cd;
$custom-light: #aa7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8049cd",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 265,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.19499,
    "h": 298.8
  },
  "luminance": 0.13762
}

Semantic roles & 50–950 ramp

primary
#8049CD
secondary
#BED59D
accent
#E048A1
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8049CD

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

Preview Lab → · Contrast checker → · Palette generator →

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