#7E33CF#7E33CF

#7E33CF is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.1% C 0.223 H 300.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7E33CF
RGBrgb(126, 51, 207)
HSLhsl(269, 62%, 51%)
HSVhsv(269, 75%, 81%)
CMYKcmyk(39.1%, 75.4%, 0%, 18.8%)
CIE-LABlab(40.09, 60.71, -67.34)
CIE-LCHlch(40.09, 90.67, 312.04°)
OKLaboklab(51.1% 0.1125 -0.1924)
OKLCHoklch(51.1% 0.223 300.3)
XYZxyz(21.0477, 11.3081, 60.0932)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33CF #84CF33
analogous
#3336CF #7E33CF #CC33CF
triadic
#7E33CF #CF7E33 #33CF7E
tetradic
#7E33CF #CF3336 #84CF33 #33CFCC
square
#7E33CF #CF3336 #84CF33 #33CFCC
split-complementary
#7E33CF #CFCC33 #36CF33
monochromatic
#421A6E #60259F #7E33CF #9D65DB #BD96E6

Accessibility & contrast

On white

6.44
#7E33CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7E33CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33CF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33CF#FFFFFF#000000##FFFFFF
##7E33CF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#6B5C7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7e33cf;
/* rgb */ color: rgb(126, 51, 207);
/* oklch */ color: oklch(51.1% 0.223 300.3);
Tailwind
colors: {
  custom: {
    50: '#aa72df',
    500: '#7e33cf',
    950: '#000000',
  },
}
SCSS
$custom: #7e33cf;
$custom-light: #aa72df;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33cf",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 207
  },
  "hsl": {
    "h": 268.846,
    "s": 61.905,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.22285,
    "h": 300.3
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#7E33CF
secondary
#B0D28C
accent
#E54397
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E33CF

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

Preview Lab → · Contrast checker → · Palette generator →

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