#8049EB#8049EB

#8049EB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.229 H 293.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8049EB
RGBrgb(128, 73, 235)
HSLhsl(260, 80%, 60%)
HSVhsv(260, 69%, 92%)
CMYKcmyk(45.5%, 68.9%, 0%, 7.8%)
CIE-LABlab(46.11, 57.99, -73.50)
CIE-LCHlch(46.11, 93.63, 308.27°)
OKLaboklab(56.1% 0.0899 -0.2105)
OKLCHoklch(56.1% 0.229 293.1)
XYZxyz(26.2759, 15.3516, 80.1599)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049EB #B4EB49
analogous
#4963EB #8049EB #D149EB
triadic
#8049EB #EB8049 #49EB80
tetradic
#8049EB #EB4963 #B4EB49 #49EBD1
square
#8049EB #EB4963 #B4EB49 #49EBD1
split-complementary
#8049EB #EBD149 #63EB49
monochromatic
#4512A7 #5C18DE #8049EB #A680F1 #CDB7F7

Accessibility & contrast

On white

5.16
#8049EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8049EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049EB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049EB#FFFFFF#000000##FFFFFF
##8049EB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8049eb;
/* rgb */ color: rgb(128, 73, 235);
/* oklch */ color: oklch(56.1% 0.229 293.1);
Tailwind
colors: {
  custom: {
    50: '#ad80f3',
    500: '#8049eb',
    950: '#000000',
  },
}
SCSS
$custom: #8049eb;
$custom-light: #ad80f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8049eb",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 235
  },
  "hsl": {
    "h": 260.37,
    "s": 80.198,
    "l": 60.392
  },
  "oklch": {
    "l": 0.561,
    "c": 0.22891,
    "h": 293.1
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8049EB

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

Preview Lab → · Contrast checker → · Palette generator →

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