#7E33C7#7E33C7

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

Color values

HEX#7E33C7
RGBrgb(126, 51, 199)
HSLhsl(270, 59%, 49%)
HSVhsv(270, 74%, 78%)
CMYKcmyk(36.7%, 74.4%, 0%, 22%)
CIE-LABlab(39.46, 58.82, -63.74)
CIE-LCHlch(39.46, 86.73, 312.71°)
OKLaboklab(50.45% 0.1143 -0.1818)
OKLCHoklch(50.45% 0.215 302.2)
XYZxyz(20.0943, 10.9267, 55.0722)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33C7 #7CC733
analogous
#3433C7 #7E33C7 #C733C6
triadic
#7E33C7 #C77E33 #33C77E
tetradic
#7E33C7 #C73433 #7CC733 #33C6C7
square
#7E33C7 #C73433 #7CC733 #33C6C7
split-complementary
#7E33C7 #C6C733 #33C734
monochromatic
#401A66 #5F2796 #7E33C7 #9C61D6 #BB91E3

Accessibility & contrast

On white

6.59
#7E33C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7E33C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33C7
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33C7#FFFFFF#000000##FFFFFF
##7E33C71.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e33c7;
/* rgb */ color: rgb(126, 51, 199);
/* oklch */ color: oklch(50.5% 0.215 302.2);
Tailwind
colors: {
  custom: {
    50: '#aa72d9',
    500: '#7e33c7',
    950: '#000000',
  },
}
SCSS
$custom: #7e33c7;
$custom-light: #aa72d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33c7",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 270.405,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.21475,
    "h": 302.2
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#7E33C7
secondary
#AACE88
accent
#E24593
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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