#7E33D2#7E33D2

#7E33D2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.226 H 299.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7E33D2
RGBrgb(126, 51, 210)
HSLhsl(268, 64%, 51%)
HSVhsv(268, 76%, 82%)
CMYKcmyk(40%, 75.7%, 0%, 17.6%)
CIE-LABlab(40.34, 61.43, -68.67)
CIE-LCHlch(40.34, 92.14, 311.81°)
OKLaboklab(51.35% 0.1118 -0.1963)
OKLCHoklch(51.35% 0.226 299.7)
XYZxyz(21.4179, 11.4562, 62.0431)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E33D2 #87D233
analogous
#3337D2 #7E33D2 #CD33D2
triadic
#7E33D2 #D27E33 #33D27E
tetradic
#7E33D2 #D23337 #87D233 #33D2CD
square
#7E33D2 #D23337 #87D233 #33D2CD
split-complementary
#7E33D2 #D2CD33 #37D233
monochromatic
#431972 #6024A4 #7E33D2 #9E65DD #BD97E8

Accessibility & contrast

On white

6.38
#7E33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7E33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E33D2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E33D2#FFFFFF#000000##FFFFFF
##7E33D21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#6A5D81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7e33d2;
/* rgb */ color: rgb(126, 51, 210);
/* oklch */ color: oklch(51.3% 0.226 299.7);
Tailwind
colors: {
  custom: {
    50: '#ab73e1',
    500: '#7e33d2',
    950: '#000000',
  },
}
SCSS
$custom: #7e33d2;
$custom-light: #ab73e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e33d2",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 268.302,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51347,
    "c": 0.22588,
    "h": 299.7
  },
  "luminance": 0.11456
}

Semantic roles & 50–950 ramp

primary
#7E33D2
secondary
#B2D48D
accent
#E74199
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7E33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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