#8049EC#8049EC

#8049EC is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.230 H 293.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8049EC
RGBrgb(128, 73, 236)
HSLhsl(260, 81%, 61%)
HSVhsv(260, 69%, 93%)
CMYKcmyk(45.8%, 69.1%, 0%, 7.5%)
CIE-LABlab(46.19, 58.26, -73.94)
CIE-LCHlch(46.19, 94.13, 308.23°)
OKLaboklab(56.18% 0.0897 -0.2118)
OKLCHoklch(56.18% 0.23 293)
XYZxyz(26.4208, 15.4096, 80.9229)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049EC #B5EC49
analogous
#4963EC #8049EC #D149EC
triadic
#8049EC #EC8049 #49EC80
tetradic
#8049EC #EC4963 #B5EC49 #49ECD1
square
#8049EC #EC4963 #B5EC49 #49ECD1
split-complementary
#8049EC #ECD149 #63EC49
monochromatic
#4512A9 #5B17E0 #8049EC #A780F2 #CDB8F8

Accessibility & contrast

On white

5.14
#8049EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8049EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049EC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049EC#FFFFFF#000000##FFFFFF
##8049EC1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#607295
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8049ec;
/* rgb */ color: rgb(128, 73, 236);
/* oklch */ color: oklch(56.2% 0.230 293.0);
Tailwind
colors: {
  custom: {
    50: '#ad80f3',
    500: '#8049ec',
    950: '#000000',
  },
}
SCSS
$custom: #8049ec;
$custom-light: #ad80f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8049ec",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 260.245,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.23002,
    "h": 293
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#8049EC
secondary
#D2E7A9
accent
#DD0895
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110A17
muted
#807C85

Preview Lab

Preview with #8049EC

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

Preview Lab → · Contrast checker → · Palette generator →

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