#7E33C2#7E33C2

#7E33C2 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.210 H 303.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7E33C2
RGBrgb(126, 51, 194)
HSLhsl(271, 58%, 48%)
HSVhsv(271, 74%, 76%)
CMYKcmyk(35.1%, 73.7%, 0%, 23.9%)
CIE-LABlab(39.07, 57.65, -61.45)
CIE-LCHlch(39.07, 84.26, 313.17°)
OKLaboklab(50.06% 0.1154 -0.1751)
OKLCHoklch(50.06% 0.21 303.4)
XYZxyz(19.5233, 10.6983, 52.0649)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33C2 #77C233
analogous
#3733C2 #7E33C2 #C233BE
triadic
#7E33C2 #C27E33 #33C27E
tetradic
#7E33C2 #C23733 #77C233 #33BEC2
square
#7E33C2 #C23733 #77C233 #33BEC2
split-complementary
#7E33C2 #BEC233 #33C237
monochromatic
#3F1A61 #5F2692 #7E33C2 #9C5ED5 #BA8EE1

Accessibility & contrast

On white

6.69
#7E33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7E33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33C2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33C2#FFFFFF#000000##FFFFFF
##7E33C21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#705678
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7e33c2;
/* rgb */ color: rgb(126, 51, 194);
/* oklch */ color: oklch(50.1% 0.210 303.4);
Tailwind
colors: {
  custom: {
    50: '#a972d5',
    500: '#7e33c2',
    950: '#000000',
  },
}
SCSS
$custom: #7e33c2;
$custom-light: #a972d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33c2",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 271.469,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50058,
    "c": 0.20968,
    "h": 303.4
  },
  "luminance": 0.10698
}

Semantic roles & 50–950 ramp

primary
#7E33C2
secondary
#A7CC85
accent
#E24690
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7E33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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