#8048C8#8048C8

#8048C8 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.3% C 0.191 H 300.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8048C8
RGBrgb(128, 72, 200)
HSLhsl(266, 54%, 53%)
HSVhsv(266, 64%, 78%)
CMYKcmyk(36%, 64%, 0%, 21.6%)
CIE-LABlab(43.35, 49.50, -57.99)
CIE-LCHlch(43.35, 76.24, 310.49°)
OKLaboklab(53.31% 0.0955 -0.1649)
OKLCHoklch(53.31% 0.191 300.1)
XYZxyz(21.6422, 13.3939, 56.0775)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8048C8 #90C848
analogous
#4850C8 #8048C8 #C048C8
triadic
#8048C8 #C88048 #48C880
tetradic
#8048C8 #C84850 #90C848 #48C8C0
square
#8048C8 #C84850 #90C848 #48C8C0
split-complementary
#8048C8 #C8C048 #50C848
monochromatic
#462373 #6231A2 #8048C8 #A177D6 #C1A6E4

Accessibility & contrast

On white

5.71
#8048C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8048C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8048C8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8048C8#FFFFFF#000000##FFFFFF
##8048C81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0B65C5
Tritanopia (blue-blind)
#706481
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8048c8;
/* rgb */ color: rgb(128, 72, 200);
/* oklch */ color: oklch(53.3% 0.191 300.1);
Tailwind
colors: {
  custom: {
    50: '#aa7ed9',
    500: '#8048c8',
    950: '#000000',
  },
}
SCSS
$custom: #8048c8;
$custom-light: #aa7ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#8048c8",
  "rgb": {
    "r": 128,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 266.25,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.19059,
    "h": 300.1
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#8048C8
secondary
#B9D19A
accent
#DD4B9D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #8048C8

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

Preview Lab → · Contrast checker → · Palette generator →

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