#7E33C8#7E33C8

#7E33C8 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.5% C 0.216 H 301.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7E33C8
RGBrgb(126, 51, 200)
HSLhsl(270, 59%, 49%)
HSVhsv(270, 75%, 78%)
CMYKcmyk(37%, 74.5%, 0%, 21.6%)
CIE-LABlab(39.54, 59.06, -64.19)
CIE-LCHlch(39.54, 87.23, 312.62°)
OKLaboklab(50.53% 0.1141 -0.1831)
OKLCHoklch(50.53% 0.216 301.9)
XYZxyz(20.2108, 10.9733, 55.6857)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33C8 #7DC833
analogous
#3333C8 #7E33C8 #C833C8
triadic
#7E33C8 #C87E33 #33C87E
tetradic
#7E33C8 #C83333 #7DC833 #33C8C8
square
#7E33C8 #C83333 #7DC833 #33C8C8
split-complementary
#7E33C8 #C8C833 #33C833
monochromatic
#411A66 #5F2797 #7E33C8 #9C61D7 #BB92E3

Accessibility & contrast

On white

6.57
#7E33C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E33C8
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33C8#FFFFFF#000000##FFFFFF
##7E33C81.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e33c8;
/* rgb */ color: rgb(126, 51, 200);
/* oklch */ color: oklch(50.5% 0.216 301.9);
Tailwind
colors: {
  custom: {
    50: '#aa72da',
    500: '#7e33c8',
    950: '#000000',
  },
}
SCSS
$custom: #7e33c8;
$custom-light: #aa72da;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33c8",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 270.201,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50534,
    "c": 0.21577,
    "h": 301.9
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#7E33C8
secondary
#ABCE89
accent
#E34593
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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