#7D33B4#7D33B4

#7D33B4 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.195 H 306.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7D33B4
RGBrgb(125, 51, 180)
HSLhsl(274, 56%, 45%)
HSVhsv(274, 72%, 71%)
CMYKcmyk(30.6%, 71.7%, 0%, 29.4%)
CIE-LABlab(37.88, 54.22, -55.14)
CIE-LCHlch(37.88, 77.34, 314.52°)
OKLaboklab(48.86% 0.1166 -0.1566)
OKLCHoklch(48.86% 0.195 306.7)
XYZxyz(17.8777, 10.0231, 44.1640)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33B4 #6AB433
analogous
#3D33B4 #7D33B4 #B433AA
triadic
#7D33B4 #B47D33 #33B47D
tetradic
#7D33B4 #B43D33 #6AB433 #33AAB4
square
#7D33B4 #B43D33 #6AB433 #33AAB4
split-complementary
#7D33B4 #AAB433 #33B43D
monochromatic
#3B1855 #5C2584 #7D33B4 #9B55CF #B785DC

Accessibility & contrast

On white

6.99
#7D33B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#7D33B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33B4
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33B4#FFFFFF#000000##FFFFFF
##7D33B41.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#005AB1
Tritanopia (blue-blind)
#745170
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7d33b4;
/* rgb */ color: rgb(125, 51, 180);
/* oklch */ color: oklch(48.9% 0.195 306.7);
Tailwind
colors: {
  custom: {
    50: '#a771cb',
    500: '#7d33b4',
    950: '#000000',
  },
}
SCSS
$custom: #7d33b4;
$custom-light: #a771cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33b4",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 274.419,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.19519,
    "h": 306.7
  },
  "luminance": 0.10023
}

Semantic roles & 50–950 ramp

primary
#7D33B4
secondary
#9CC67D
accent
#DF4989
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7D33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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