#7D33B9#7D33B9

#7D33B9 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.200 H 305.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#7D33B9
RGBrgb(125, 51, 185)
HSLhsl(273, 57%, 46%)
HSVhsv(273, 72%, 73%)
CMYKcmyk(32.4%, 72.4%, 0%, 27.5%)
CIE-LABlab(38.25, 55.37, -57.50)
CIE-LCHlch(38.25, 79.83, 313.92°)
OKLaboklab(49.24% 0.1157 -0.1635)
OKLCHoklch(49.24% 0.2 305.3)
XYZxyz(18.3963, 10.2305, 46.8951)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33B9 #6FB933
analogous
#3A33B9 #7D33B9 #B933B2
triadic
#7D33B9 #B97D33 #33B97D
tetradic
#7D33B9 #B93A33 #6FB933 #33B2B9
square
#7D33B9 #B93A33 #6FB933 #33B2B9
split-complementary
#7D33B9 #B2B933 #33B93A
monochromatic
#3C1959 #5D2689 #7D33B9 #9B58D1 #B888DE

Accessibility & contrast

On white

6.89
#7D33B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7D33B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33B9
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33B9#FFFFFF#000000##FFFFFF
##7D33B91.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#725373
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d33b9;
/* rgb */ color: rgb(125, 51, 185);
/* oklch */ color: oklch(49.2% 0.200 305.3);
Tailwind
colors: {
  custom: {
    50: '#a871cf',
    500: '#7d33b9',
    950: '#000000',
  },
}
SCSS
$custom: #7d33b9;
$custom-light: #a871cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33b9",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 273.134,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4924,
    "c": 0.2003,
    "h": 305.3
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#7D33B9
secondary
#A0C880
accent
#E0488C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7D33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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