#8033B2#8033B2

#8033B2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.194 H 308.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8033B2
RGBrgb(128, 51, 178)
HSLhsl(276, 55%, 45%)
HSVhsv(276, 71%, 70%)
CMYKcmyk(28.1%, 71.3%, 0%, 30.2%)
CIE-LABlab(38.15, 54.37, -53.51)
CIE-LCHlch(38.15, 76.29, 315.46°)
OKLaboklab(49.09% 0.1209 -0.1517)
OKLCHoklch(49.09% 0.194 308.6)
XYZxyz(18.1202, 10.1715, 43.1196)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8033B2 #65B233
analogous
#4033B2 #8033B2 #B233A5
triadic
#8033B2 #B28033 #33B280
tetradic
#8033B2 #B24033 #65B233 #33A5B2
square
#8033B2 #B24033 #65B233 #33A5B2
split-complementary
#8033B2 #A5B233 #33B240
monochromatic
#3C1853 #5E2582 #8033B2 #9E54CE #B984DC

Accessibility & contrast

On white

6.92
#8033B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8033B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8033B2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8033B2#FFFFFF#000000##FFFFFF
##8033B21.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#135BAF
Tritanopia (blue-blind)
#78506F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8033b2;
/* rgb */ color: rgb(128, 51, 178);
/* oklch */ color: oklch(49.1% 0.194 308.6);
Tailwind
colors: {
  custom: {
    50: '#a971ca',
    500: '#8033b2',
    950: '#000000',
  },
}
SCSS
$custom: #8033b2;
$custom-light: #a971ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8033b2",
  "rgb": {
    "r": 128,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 276.378,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49091,
    "c": 0.19398,
    "h": 308.6
  },
  "luminance": 0.10171
}

Semantic roles & 50–950 ramp

primary
#8033B2
secondary
#99C57C
accent
#DF4984
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8033B2

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

Preview Lab → · Contrast checker → · Palette generator →

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