#7D33B7#7D33B7

#7D33B7 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.1% C 0.198 H 305.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7D33B7
RGBrgb(125, 51, 183)
HSLhsl(274, 56%, 46%)
HSVhsv(274, 72%, 72%)
CMYKcmyk(31.7%, 72.1%, 0%, 28.2%)
CIE-LABlab(38.10, 54.91, -56.56)
CIE-LCHlch(38.10, 78.83, 314.15°)
OKLaboklab(49.09% 0.1161 -0.1607)
OKLCHoklch(49.09% 0.198 305.8)
XYZxyz(18.1866, 10.1467, 45.7910)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33B7 #6DB733
analogous
#3B33B7 #7D33B7 #B733AF
triadic
#7D33B7 #B77D33 #33B77D
tetradic
#7D33B7 #B73B33 #6DB733 #33AFB7
square
#7D33B7 #B73B33 #6DB733 #33AFB7
split-complementary
#7D33B7 #AFB733 #33B73B
monochromatic
#3C1857 #5C2687 #7D33B7 #9B57D0 #B787DE

Accessibility & contrast

On white

6.93
#7D33B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7D33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33B7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33B7#FFFFFF#000000##FFFFFF
##7D33B71.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#735272
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7d33b7;
/* rgb */ color: rgb(125, 51, 183);
/* oklch */ color: oklch(49.1% 0.198 305.8);
Tailwind
colors: {
  custom: {
    50: '#a871cd',
    500: '#7d33b7',
    950: '#000000',
  },
}
SCSS
$custom: #7d33b7;
$custom-light: #a871cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33b7",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 273.636,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.19826,
    "h": 305.8
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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