#7E33CA#7E33CA

#7E33CA is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.218 H 301.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E33CA
RGBrgb(126, 51, 202)
HSLhsl(270, 60%, 50%)
HSVhsv(270, 75%, 79%)
CMYKcmyk(37.6%, 74.8%, 0%, 20.8%)
CIE-LABlab(39.69, 59.53, -65.09)
CIE-LCHlch(39.69, 88.21, 312.44°)
OKLaboklab(50.7% 0.1137 -0.1858)
OKLCHoklch(50.7% 0.218 301.5)
XYZxyz(20.4461, 11.0674, 56.9247)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33CA #7FCA33
analogous
#3334CA #7E33CA #CA33CA
triadic
#7E33CA #CA7E33 #33CA7E
tetradic
#7E33CA #CA3334 #7FCA33 #33CACA
square
#7E33CA #CA3334 #7FCA33 #33CACA
split-complementary
#7E33CA #CACA33 #34CA33
monochromatic
#411A68 #602799 #7E33CA #9D63D8 #BB94E4

Accessibility & contrast

On white

6.53
#7E33CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7E33CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33CA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33CA#FFFFFF#000000##FFFFFF
##7E33CA1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#6D5A7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e33ca;
/* rgb */ color: rgb(126, 51, 202);
/* oklch */ color: oklch(50.7% 0.218 301.5);
Tailwind
colors: {
  custom: {
    50: '#aa72db',
    500: '#7e33ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e33ca;
$custom-light: #aa72db;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33ca",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 269.801,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50695,
    "c": 0.2178,
    "h": 301.5
  },
  "luminance": 0.11068
}

Semantic roles & 50–950 ramp

primary
#7E33CA
secondary
#ADCF8A
accent
#E34594
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E33CA

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

Preview Lab → · Contrast checker → · Palette generator →

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