#7D33C2#7D33C2

#7D33C2 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.209 H 303.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7D33C2
RGBrgb(125, 51, 194)
HSLhsl(271, 58%, 48%)
HSVhsv(271, 74%, 76%)
CMYKcmyk(35.6%, 73.7%, 0%, 23.9%)
CIE-LABlab(38.94, 57.47, -61.67)
CIE-LCHlch(38.94, 84.30, 312.98°)
OKLaboklab(49.94% 0.114 -0.1757)
OKLCHoklch(49.94% 0.209 303)
XYZxyz(19.3766, 10.6227, 52.0580)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D33C2 #78C233
analogous
#3633C2 #7D33C2 #C233BF
triadic
#7D33C2 #C27D33 #33C27D
tetradic
#7D33C2 #C23633 #78C233 #33BFC2
square
#7D33C2 #C23633 #78C233 #33BFC2
split-complementary
#7D33C2 #BFC233 #33C236
monochromatic
#3F1A61 #5E2692 #7D33C2 #9B5ED5 #B98EE1

Accessibility & contrast

On white

6.72
#7D33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7D33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D33C2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D33C2#FFFFFF#000000##FFFFFF
##7D33C21.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#6F5778
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d33c2;
/* rgb */ color: rgb(125, 51, 194);
/* oklch */ color: oklch(49.9% 0.209 303.0);
Tailwind
colors: {
  custom: {
    50: '#a972d5',
    500: '#7d33c2',
    950: '#000000',
  },
}
SCSS
$custom: #7d33c2;
$custom-light: #a972d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d33c2",
  "rgb": {
    "r": 125,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 271.049,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.20949,
    "h": 303
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#7D33C2
secondary
#A7CC85
accent
#E24691
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7D33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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