#7D33A4#7D33A4

#7D33A4 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.179 H 311.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7D33A4
RGBrgb(125, 51, 164)
HSLhsl(279, 53%, 42%)
HSVhsv(279, 69%, 64%)
CMYKcmyk(23.8%, 68.9%, 0%, 35.7%)
CIE-LABlab(36.76, 50.61, -47.42)
CIE-LCHlch(36.76, 69.36, 316.87°)
OKLaboklab(47.7% 0.1186 -0.1339)
OKLCHoklch(47.7% 0.179 311.5)
XYZxyz(16.3409, 9.4084, 36.0699)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33A4 #5AA433
analogous
#4533A4 #7D33A4 #A43393
triadic
#7D33A4 #A47D33 #33A47D
tetradic
#7D33A4 #A44533 #5AA433 #3393A4
square
#7D33A4 #A44533 #5AA433 #3393A4
split-complementary
#7D33A4 #93A433 #33A445
monochromatic
#361647 #592475 #7D33A4 #9D4DC8 #B77BD6

Accessibility & contrast

On white

7.29
#7D33A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7D33A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D33A4
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33A4#FFFFFF#000000##FFFFFF
##7D33A41.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#2658A1
Tritanopia (blue-blind)
#784B67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7d33a4;
/* rgb */ color: rgb(125, 51, 164);
/* oklch */ color: oklch(47.7% 0.179 311.5);
Tailwind
colors: {
  custom: {
    50: '#a671c0',
    500: '#7d33a4',
    950: '#000000',
  },
}
SCSS
$custom: #7d33a4;
$custom-light: #a671c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33a4",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 279.292,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.17886,
    "h": 311.5
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#7D33A4
secondary
#8EBF74
accent
#DC4C7E
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7D33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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