#8049E6#8049E6

#8049E6 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.223 H 294.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8049E6
RGBrgb(128, 73, 230)
HSLhsl(261, 76%, 59%)
HSVhsv(261, 68%, 90%)
CMYKcmyk(44.3%, 68.3%, 0%, 9.8%)
CIE-LABlab(45.73, 56.69, -71.31)
CIE-LCHlch(45.73, 91.10, 308.49°)
OKLaboklab(55.7% 0.0907 -0.2041)
OKLCHoklch(55.7% 0.223 294)
XYZxyz(25.5637, 15.0667, 76.4088)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049E6 #AFE649
analogous
#4961E6 #8049E6 #CE49E6
triadic
#8049E6 #E68049 #49E680
tetradic
#8049E6 #E64961 #AFE649 #49E6CE
square
#8049E6 #E64961 #AFE649 #49E6CE
split-complementary
#8049E6 #E6CE49 #61E649
monochromatic
#46169F #5D1DD5 #8049E6 #A67FED #CBB5F5

Accessibility & contrast

On white

5.23
#8049E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8049E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049E6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049E6#FFFFFF#000000##FFFFFF
##8049E61.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#006AE3
Tritanopia (blue-blind)
#637092
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8049e6;
/* rgb */ color: rgb(128, 73, 230);
/* oklch */ color: oklch(55.7% 0.223 294.0);
Tailwind
colors: {
  custom: {
    50: '#ad80ef',
    500: '#8049e6',
    950: '#000000',
  },
}
SCSS
$custom: #8049e6;
$custom-light: #ad80ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8049e6",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 261.019,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55704,
    "c": 0.22334,
    "h": 294
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#8049E6
secondary
#CFE4A7
accent
#F235B0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #8049E6

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

Preview Lab → · Contrast checker → · Palette generator →

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