#8049E1#8049E1

#8049E1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.218 H 294.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8049E1
RGBrgb(128, 73, 225)
HSLhsl(262, 72%, 58%)
HSVhsv(262, 68%, 88%)
CMYKcmyk(43.1%, 67.6%, 0%, 11.8%)
CIE-LABlab(45.35, 55.39, -69.09)
CIE-LCHlch(45.35, 88.55, 308.72°)
OKLaboklab(55.31% 0.0915 -0.1976)
OKLCHoklch(55.31% 0.218 294.9)
XYZxyz(24.8716, 14.7899, 72.7639)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049E1 #AAE149
analogous
#495EE1 #8049E1 #CC49E1
triadic
#8049E1 #E18049 #49E180
tetradic
#8049E1 #E1495E #AAE149 #49E1CC
square
#8049E1 #E1495E #AAE149 #49E1CC
split-complementary
#8049E1 #E1CC49 #5EE149
monochromatic
#461997 #5F22CB #8049E1 #A57EEA #C9B2F2

Accessibility & contrast

On white

5.31
#8049E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8049E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049E1
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049E1#FFFFFF#000000##FFFFFF
##8049E11.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#656E8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8049e1;
/* rgb */ color: rgb(128, 73, 225);
/* oklch */ color: oklch(55.3% 0.218 294.9);
Tailwind
colors: {
  custom: {
    50: '#ac7feb',
    500: '#8049e1',
    950: '#000000',
  },
}
SCSS
$custom: #8049e1;
$custom-light: #ac7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#8049e1",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 261.711,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.21772,
    "h": 294.9
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#8049E1
secondary
#CBE1A5
accent
#EE39AD
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8049E1

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

Preview Lab → · Contrast checker → · Palette generator →

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