#7B33D6#7B33D6

#7B33D6 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.230 H 297.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7B33D6
RGBrgb(123, 51, 214)
HSLhsl(267, 67%, 52%)
HSVhsv(267, 76%, 84%)
CMYKcmyk(42.5%, 76.2%, 0%, 16.1%)
CIE-LABlab(40.30, 61.91, -71.06)
CIE-LCHlch(40.30, 94.24, 311.07°)
OKLaboklab(51.34% 0.1065 -0.2034)
OKLCHoklch(51.34% 0.23 297.6)
XYZxyz(21.4866, 11.4333, 64.6801)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33D6 #8ED633
analogous
#333DD6 #7B33D6 #CD33D6
triadic
#7B33D6 #D67B33 #33D67B
tetradic
#7B33D6 #D6333D #8ED633 #33D6CD
square
#7B33D6 #D6333D #8ED633 #33D6CD
split-complementary
#7B33D6 #D6CD33 #3DD633
monochromatic
#421877 #5E22AA #7B33D6 #9C66E0 #BD99EA

Accessibility & contrast

On white

6.39
#7B33D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B33D6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33D6#FFFFFF#000000##FFFFFF
##7B33D61.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b33d6;
/* rgb */ color: rgb(123, 51, 214);
/* oklch */ color: oklch(51.3% 0.230 297.6);
Tailwind
colors: {
  custom: {
    50: '#a972e4',
    500: '#7b33d6',
    950: '#000000',
  },
}
SCSS
$custom: #7b33d6;
$custom-light: #a972e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33d6",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 214
  },
  "hsl": {
    "h": 266.503,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51342,
    "c": 0.22956,
    "h": 297.6
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B33D6

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

Preview Lab → · Contrast checker → · Palette generator →

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