#8049CE#8049CE

#8049CE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.196 H 298.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8049CE
RGBrgb(128, 73, 206)
HSLhsl(265, 58%, 55%)
HSVhsv(265, 65%, 81%)
CMYKcmyk(37.9%, 64.6%, 0%, 19.2%)
CIE-LABlab(43.96, 50.50, -60.47)
CIE-LCHlch(43.96, 78.78, 309.87°)
OKLaboklab(53.88% 0.0939 -0.1722)
OKLCHoklch(53.88% 0.196 298.6)
XYZxyz(22.4224, 13.8102, 59.8649)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049CE #97CE49
analogous
#4955CE #8049CE #C349CE
triadic
#8049CE #CE8049 #49CE80
tetradic
#8049CE #CE4955 #97CE49 #49CEC3
square
#8049CE #CE4955 #97CE49 #49CEC3
split-complementary
#8049CE #CEC349 #55CE49
monochromatic
#47217B #622EAC #8049CE #A279DB #C3A9E8

Accessibility & contrast

On white

5.58
#8049CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8049CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049CE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049CE#FFFFFF#000000##FFFFFF
##8049CE1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#6E6785
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8049ce;
/* rgb */ color: rgb(128, 73, 206);
/* oklch */ color: oklch(53.9% 0.196 298.6);
Tailwind
colors: {
  custom: {
    50: '#aa7fde',
    500: '#8049ce',
    950: '#000000',
  },
}
SCSS
$custom: #8049ce;
$custom-light: #aa7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8049ce",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 264.812,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53882,
    "c": 0.19614,
    "h": 298.6
  },
  "luminance": 0.13811
}

Semantic roles & 50–950 ramp

primary
#8049CE
secondary
#BED59D
accent
#E147A1
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8049CE

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

Preview Lab → · Contrast checker → · Palette generator →

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