#7E33C9#7E33C9

#7E33C9 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.6% C 0.217 H 301.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7E33C9
RGBrgb(126, 51, 201)
HSLhsl(270, 60%, 49%)
HSVhsv(270, 75%, 79%)
CMYKcmyk(37.3%, 74.6%, 0%, 21.2%)
CIE-LABlab(39.61, 59.30, -64.64)
CIE-LCHlch(39.61, 87.72, 312.53°)
OKLaboklab(50.61% 0.1139 -0.1844)
OKLCHoklch(50.61% 0.217 301.7)
XYZxyz(20.3281, 11.0202, 56.3032)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33C9 #7EC933
analogous
#3333C9 #7E33C9 #C933C9
triadic
#7E33C9 #C97E33 #33C97E
tetradic
#7E33C9 #C93333 #7EC933 #33C9C9
square
#7E33C9 #C93333 #7EC933 #33C9C9
split-complementary
#7E33C9 #C9C933 #33C933
monochromatic
#411A67 #5F2798 #7E33C9 #9D62D7 #BB93E4

Accessibility & contrast

On white

6.55
#7E33C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7E33C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33C9
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33C9#FFFFFF#000000##FFFFFF
##7E33C91.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#6E597C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7e33c9;
/* rgb */ color: rgb(126, 51, 201);
/* oklch */ color: oklch(50.6% 0.217 301.7);
Tailwind
colors: {
  custom: {
    50: '#aa72da',
    500: '#7e33c9',
    950: '#000000',
  },
}
SCSS
$custom: #7e33c9;
$custom-light: #aa72da;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33c9",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 270,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.21678,
    "h": 301.7
  },
  "luminance": 0.1102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E33C9

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

Preview Lab → · Contrast checker → · Palette generator →

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