#7E33D7#7E33D7

#7E33D7 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.8% C 0.231 H 298.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7E33D7
RGBrgb(126, 51, 215)
HSLhsl(267, 67%, 52%)
HSVhsv(267, 76%, 84%)
CMYKcmyk(41.4%, 76.3%, 0%, 15.7%)
CIE-LABlab(40.75, 62.62, -70.88)
CIE-LCHlch(40.75, 94.58, 311.46°)
OKLaboklab(51.76% 0.1105 -0.2028)
OKLCHoklch(51.76% 0.231 298.6)
XYZxyz(22.0506, 11.7092, 65.3752)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33D7 #8CD733
analogous
#333AD7 #7E33D7 #D033D7
triadic
#7E33D7 #D77E33 #33D77E
tetradic
#7E33D7 #D7333A #8CD733 #33D7D0
square
#7E33D7 #D7333A #8CD733 #33D7D0
split-complementary
#7E33D7 #D7D033 #3AD733
monochromatic
#441878 #6122AB #7E33D7 #9E66E1 #BF99EB

Accessibility & contrast

On white

6.28
#7E33D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7E33D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33D7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33D7#FFFFFF#000000##FFFFFF
##7E33D71.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DC
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#685F84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7e33d7;
/* rgb */ color: rgb(126, 51, 215);
/* oklch */ color: oklch(51.8% 0.231 298.6);
Tailwind
colors: {
  custom: {
    50: '#ab73e4',
    500: '#7e33d7',
    950: '#000000',
  },
}
SCSS
$custom: #7e33d7;
$custom-light: #ab73e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33d7",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 215
  },
  "hsl": {
    "h": 267.439,
    "s": 67.213,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.23092,
    "h": 298.6
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#7E33D7
secondary
#B6D78F
accent
#EA3E9B
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7E33D7

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

Preview Lab → · Contrast checker → · Palette generator →

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