#7D33C7#7D33C7

#7D33C7 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.215 H 301.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7D33C7
RGBrgb(125, 51, 199)
HSLhsl(270, 59%, 49%)
HSVhsv(270, 74%, 78%)
CMYKcmyk(37.2%, 74.4%, 0%, 22%)
CIE-LABlab(39.33, 58.65, -63.95)
CIE-LCHlch(39.33, 86.77, 312.52°)
OKLaboklab(50.34% 0.1129 -0.1824)
OKLCHoklch(50.34% 0.215 301.8)
XYZxyz(19.9476, 10.8511, 55.0653)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33C7 #7DC733
analogous
#3333C7 #7D33C7 #C733C7
triadic
#7D33C7 #C77D33 #33C77D
tetradic
#7D33C7 #C73333 #7DC733 #33C7C7
square
#7D33C7 #C73333 #7DC733 #33C7C7
split-complementary
#7D33C7 #C7C733 #33C733
monochromatic
#401A66 #5E2796 #7D33C7 #9C61D6 #BA91E3

Accessibility & contrast

On white

6.62
#7D33C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7D33C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33C7
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33C7#FFFFFF#000000##FFFFFF
##7D33C71.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#6D597B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d33c7;
/* rgb */ color: rgb(125, 51, 199);
/* oklch */ color: oklch(50.3% 0.215 301.8);
Tailwind
colors: {
  custom: {
    50: '#a972d9',
    500: '#7d33c7',
    950: '#000000',
  },
}
SCSS
$custom: #7d33c7;
$custom-light: #a972d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33c7",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 270,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50336,
    "c": 0.21458,
    "h": 301.8
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

primary
#7D33C7
secondary
#ABCE88
accent
#E24594
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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