#8033CC#8033CC

#8033CC is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.220 H 301.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8033CC
RGBrgb(128, 51, 204)
HSLhsl(270, 60%, 50%)
HSVhsv(270, 75%, 80%)
CMYKcmyk(37.3%, 75%, 0%, 20%)
CIE-LABlab(40.11, 60.34, -65.57)
CIE-LCHlch(40.11, 89.11, 312.62°)
OKLaboklab(51.09% 0.116 -0.1871)
OKLCHoklch(51.09% 0.22 301.8)
XYZxyz(20.9824, 11.3164, 58.1939)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8033CC #7FCC33
analogous
#3333CC #8033CC #CC33CC
triadic
#8033CC #CC8033 #33CC80
tetradic
#8033CC #CC3333 #7FCC33 #33CCCC
square
#8033CC #CC3333 #7FCC33 #33CCCC
split-complementary
#8033CC #CCCC33 #33CC33
monochromatic
#431B6A #61279B #8033CC #9E64D8 #BD95E4

Accessibility & contrast

On white

6.44
#8033CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8033CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8033CC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8033CC#FFFFFF#000000##FFFFFF
##8033CC1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#705A7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8033cc;
/* rgb */ color: rgb(128, 51, 204);
/* oklch */ color: oklch(51.1% 0.220 301.8);
Tailwind
colors: {
  custom: {
    50: '#ab73dd',
    500: '#8033cc',
    950: '#000000',
  },
}
SCSS
$custom: #8033cc;
$custom-light: #ab73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8033cc",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 204
  },
  "hsl": {
    "h": 270.196,
    "s": 60,
    "l": 50
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.22016,
    "h": 301.8
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#8033CC
secondary
#ADD08B
accent
#E34593
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #8033CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8033CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva