#7B33C2#7B33C2

#7B33C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.209 H 302.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7B33C2
RGBrgb(123, 51, 194)
HSLhsl(270, 58%, 48%)
HSVhsv(270, 74%, 76%)
CMYKcmyk(36.6%, 73.7%, 0%, 23.9%)
CIE-LABlab(38.68, 57.11, -62.10)
CIE-LCHlch(38.68, 84.37, 312.61°)
OKLaboklab(49.7% 0.1112 -0.1771)
OKLCHoklch(49.7% 0.209 302.1)
XYZxyz(19.0875, 10.4736, 52.0445)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33C2 #7AC233
analogous
#3433C2 #7B33C2 #C233C1
triadic
#7B33C2 #C27B33 #33C27B
tetradic
#7B33C2 #C23433 #7AC233 #33C1C2
square
#7B33C2 #C23433 #7AC233 #33C1C2
split-complementary
#7B33C2 #C1C233 #33C234
monochromatic
#3E1A61 #5C2692 #7B33C2 #9A5ED5 #B88EE1

Accessibility & contrast

On white

6.79
#7B33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7B33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B33C2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33C2#FFFFFF#000000##FFFFFF
##7B33C21.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#6C5778
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b33c2;
/* rgb */ color: rgb(123, 51, 194);
/* oklch */ color: oklch(49.7% 0.209 302.1);
Tailwind
colors: {
  custom: {
    50: '#a772d5',
    500: '#7b33c2',
    950: '#000000',
  },
}
SCSS
$custom: #7b33c2;
$custom-light: #a772d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33c2",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 270.21,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.497,
    "c": 0.20911,
    "h": 302.1
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#7B33C2
secondary
#A8CC85
accent
#E24693
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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