#8048CF#8048CF

#8048CF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.8% C 0.199 H 298.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8048CF
RGBrgb(128, 72, 207)
HSLhsl(265, 58%, 55%)
HSVhsv(265, 65%, 81%)
CMYKcmyk(38.2%, 65.2%, 0%, 18.8%)
CIE-LABlab(43.84, 51.27, -61.23)
CIE-LCHlch(43.84, 79.87, 309.94°)
OKLaboklab(53.82% 0.0949 -0.1745)
OKLCHoklch(53.82% 0.199 298.5)
XYZxyz(22.4791, 13.7286, 60.4850)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8048CF #97CF48
analogous
#4853CF #8048CF #C448CF
triadic
#8048CF #CF8048 #48CF80
tetradic
#8048CF #CF4853 #97CF48 #48CFC4
square
#8048CF #CF4853 #97CF48 #48CFC4
split-complementary
#8048CF #CFC448 #53CF48
monochromatic
#47217C #622DAD #8048CF #A278DC #C3A9E8

Accessibility & contrast

On white

5.61
#8048CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8048CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8048CF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8048CF#FFFFFF#000000##FFFFFF
##8048CF1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#6E6785
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8048cf;
/* rgb */ color: rgb(128, 72, 207);
/* oklch */ color: oklch(53.8% 0.199 298.5);
Tailwind
colors: {
  custom: {
    50: '#aa7edf',
    500: '#8048cf',
    950: '#000000',
  },
}
SCSS
$custom: #8048cf;
$custom-light: #aa7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#8048cf",
  "rgb": {
    "r": 128,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 264.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.19858,
    "h": 298.5
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#8048CF
secondary
#BED69D
accent
#E246A1
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8048CF

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

Preview Lab → · Contrast checker → · Palette generator →

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