#7D33C5#7D33C5

#7D33C5 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.213 H 302.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7D33C5
RGBrgb(125, 51, 197)
HSLhsl(270, 59%, 49%)
HSVhsv(270, 74%, 77%)
CMYKcmyk(36.5%, 74.1%, 0%, 22.7%)
CIE-LABlab(39.17, 58.18, -63.04)
CIE-LCHlch(39.17, 85.78, 312.70°)
OKLaboklab(50.18% 0.1134 -0.1798)
OKLCHoklch(50.18% 0.213 302.2)
XYZxyz(19.7169, 10.7588, 53.8504)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33C5 #7BC533
analogous
#3433C5 #7D33C5 #C533C4
triadic
#7D33C5 #C57D33 #33C57D
tetradic
#7D33C5 #C53433 #7BC533 #33C4C5
square
#7D33C5 #C53433 #7BC533 #33C4C5
split-complementary
#7D33C5 #C4C533 #33C534
monochromatic
#3F1A64 #5E2694 #7D33C5 #9B5FD6 #BA90E2

Accessibility & contrast

On white

6.66
#7D33C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D33C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33C5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33C5#FFFFFF#000000##FFFFFF
##7D33C51.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#6E587A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d33c5;
/* rgb */ color: rgb(125, 51, 197);
/* oklch */ color: oklch(50.2% 0.213 302.2);
Tailwind
colors: {
  custom: {
    50: '#a972d8',
    500: '#7d33c5',
    950: '#000000',
  },
}
SCSS
$custom: #7d33c5;
$custom-light: #a972d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33c5",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 270.411,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50176,
    "c": 0.21255,
    "h": 302.2
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#7D33C5
secondary
#A9CD87
accent
#E24693
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7D33C5

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

Preview Lab → · Contrast checker → · Palette generator →

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