#8048CE#8048CE

#8048CE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.197 H 298.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8048CE
RGBrgb(128, 72, 206)
HSLhsl(265, 58%, 55%)
HSVhsv(265, 65%, 81%)
CMYKcmyk(37.9%, 65%, 0%, 19.2%)
CIE-LABlab(43.77, 51.02, -60.77)
CIE-LCHlch(43.77, 79.35, 310.01°)
OKLaboklab(53.75% 0.095 -0.1731)
OKLCHoklch(53.75% 0.197 298.7)
XYZxyz(22.3572, 13.6799, 59.8431)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8048CE #96CE48
analogous
#4853CE #8048CE #C348CE
triadic
#8048CE #CE8048 #48CE80
tetradic
#8048CE #CE4853 #96CE48 #48CEC3
square
#8048CE #CE4853 #96CE48 #48CEC3
split-complementary
#8048CE #CEC348 #53CE48
monochromatic
#46217B #622EAB #8048CE #A278DB #C3A9E8

Accessibility & contrast

On white

5.62
#8048CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8048CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8048CE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8048CE#FFFFFF#000000##FFFFFF
##8048CE1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8048ce;
/* rgb */ color: rgb(128, 72, 206);
/* oklch */ color: oklch(53.7% 0.197 298.7);
Tailwind
colors: {
  custom: {
    50: '#aa7ede',
    500: '#8048ce',
    950: '#000000',
  },
}
SCSS
$custom: #8048ce;
$custom-light: #aa7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8048ce",
  "rgb": {
    "r": 128,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 265.075,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53745,
    "c": 0.19745,
    "h": 298.7
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8048CE

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

Preview Lab → · Contrast checker → · Palette generator →

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