#8049C2#8049C2

#8049C2 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.182 H 301.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8049C2
RGBrgb(128, 73, 194)
HSLhsl(267, 50%, 52%)
HSVhsv(267, 62%, 76%)
CMYKcmyk(34%, 62.4%, 0%, 23.9%)
CIE-LABlab(43.14, 47.47, -54.85)
CIE-LCHlch(43.14, 72.54, 310.87°)
OKLaboklab(53.03% 0.0948 -0.1557)
OKLCHoklch(53.03% 0.182 301.3)
XYZxyz(21.0199, 13.2492, 52.4784)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049C2 #8BC249
analogous
#494EC2 #8049C2 #BD49C2
triadic
#8049C2 #C28049 #49C280
tetradic
#8049C2 #C2494E #8BC249 #49C2BD
square
#8049C2 #C2494E #8BC249 #49C2BD
split-complementary
#8049C2 #C2BD49 #4EC249
monochromatic
#45246C #62349A #8049C2 #A077D1 #C0A5E1

Accessibility & contrast

On white

5.75
#8049C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8049C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049C2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049C2#FFFFFF#000000##FFFFFF
##8049C21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#1F65BF
Tritanopia (blue-blind)
#72637F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8049c2;
/* rgb */ color: rgb(128, 73, 194);
/* oklch */ color: oklch(53.0% 0.182 301.3);
Tailwind
colors: {
  custom: {
    50: '#a97fd5',
    500: '#8049c2',
    950: '#000000',
  },
}
SCSS
$custom: #8049c2;
$custom-light: #a97fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8049c2",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 194
  },
  "hsl": {
    "h": 267.273,
    "s": 49.794,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.18229,
    "h": 301.3
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#8049C2
secondary
#B6CE99
accent
#D94E9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #8049C2

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

Preview Lab → · Contrast checker → · Palette generator →

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