#7A33D6#7A33D6

#7A33D6 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.229 H 297.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7A33D6
RGBrgb(122, 51, 214)
HSLhsl(266, 67%, 52%)
HSVhsv(266, 76%, 84%)
CMYKcmyk(43%, 76.2%, 0%, 16.1%)
CIE-LABlab(40.18, 61.76, -71.26)
CIE-LCHlch(40.18, 94.30, 310.92°)
OKLaboklab(51.23% 0.105 -0.204)
OKLCHoklch(51.23% 0.229 297.2)
XYZxyz(21.3443, 11.3598, 64.6734)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A33D6 #8FD633
analogous
#333ED6 #7A33D6 #CC33D6
triadic
#7A33D6 #D67A33 #33D67A
tetradic
#7A33D6 #D6333E #8FD633 #33D6CC
square
#7A33D6 #D6333E #8FD633 #33D6CC
split-complementary
#7A33D6 #D6CC33 #3ED633
monochromatic
#411877 #5D22AA #7A33D6 #9B66E0 #BC99EA

Accessibility & contrast

On white

6.42
#7A33D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7A33D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A33D6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A33D6#FFFFFF#000000##FFFFFF
##7A33D61.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FDB
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#625F83
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7a33d6;
/* rgb */ color: rgb(122, 51, 214);
/* oklch */ color: oklch(51.2% 0.229 297.2);
Tailwind
colors: {
  custom: {
    50: '#a972e4',
    500: '#7a33d6',
    950: '#000000',
  },
}
SCSS
$custom: #7a33d6;
$custom-light: #a972e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a33d6",
  "rgb": {
    "r": 122,
    "g": 51,
    "b": 214
  },
  "hsl": {
    "h": 266.135,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.22945,
    "h": 297.2
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#7A33D6
secondary
#B7D68F
accent
#E93E9F
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #7A33D6

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

Preview Lab → · Contrast checker → · Palette generator →

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