#7D33B8#7D33B8

#7D33B8 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.199 H 305.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7D33B8
RGBrgb(125, 51, 184)
HSLhsl(273, 57%, 46%)
HSVhsv(273, 72%, 72%)
CMYKcmyk(32.1%, 72.3%, 0%, 27.8%)
CIE-LABlab(38.18, 55.14, -57.03)
CIE-LCHlch(38.18, 79.33, 314.04°)
OKLaboklab(49.16% 0.1159 -0.1621)
OKLCHoklch(49.16% 0.199 305.6)
XYZxyz(18.2911, 10.1885, 46.3411)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33B8 #6EB833
analogous
#3A33B8 #7D33B8 #B833B0
triadic
#7D33B8 #B87D33 #33B87D
tetradic
#7D33B8 #B83A33 #6EB833 #33B0B8
square
#7D33B8 #B83A33 #6EB833 #33B0B8
split-complementary
#7D33B8 #B0B833 #33B83A
monochromatic
#3C1858 #5C2688 #7D33B8 #9B58D1 #B888DE

Accessibility & contrast

On white

6.91
#7D33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7D33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33B8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33B8#FFFFFF#000000##FFFFFF
##7D33B81.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#725372
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d33b8;
/* rgb */ color: rgb(125, 51, 184);
/* oklch */ color: oklch(49.2% 0.199 305.6);
Tailwind
colors: {
  custom: {
    50: '#a871ce',
    500: '#7d33b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d33b8;
$custom-light: #a871ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33b8",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 273.383,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.19929,
    "h": 305.6
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#7D33B8
secondary
#9FC87F
accent
#E0488B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D33B8

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

Preview Lab → · Contrast checker → · Palette generator →

#7D33B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva