#7B33C1#7B33C1

#7B33C1 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.208 H 302.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7B33C1
RGBrgb(123, 51, 193)
HSLhsl(270, 58%, 48%)
HSVhsv(270, 74%, 76%)
CMYKcmyk(36.3%, 73.6%, 0%, 24.3%)
CIE-LABlab(38.60, 56.88, -61.64)
CIE-LCHlch(38.60, 83.87, 312.70°)
OKLaboklab(49.62% 0.1114 -0.1757)
OKLCHoklch(49.62% 0.208 302.4)
XYZxyz(18.9755, 10.4288, 51.4550)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33C1 #79C133
analogous
#3433C1 #7B33C1 #C133C0
triadic
#7B33C1 #C17B33 #33C17B
tetradic
#7B33C1 #C13433 #79C133 #33C0C1
square
#7B33C1 #C13433 #79C133 #33C0C1
split-complementary
#7B33C1 #C0C133 #33C134
monochromatic
#3D1960 #5C2691 #7B33C1 #995DD4 #B88DE1

Accessibility & contrast

On white

6.81
#7B33C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B33C1
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33C1#FFFFFF#000000##FFFFFF
##7B33C11.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#6C5677
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b33c1;
/* rgb */ color: rgb(123, 51, 193);
/* oklch */ color: oklch(49.6% 0.208 302.4);
Tailwind
colors: {
  custom: {
    50: '#a772d5',
    500: '#7b33c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b33c1;
$custom-light: #a772d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33c1",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 270.423,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49621,
    "c": 0.20808,
    "h": 302.4
  },
  "luminance": 0.10429
}

Semantic roles & 50–950 ramp

primary
#7B33C1
secondary
#A7CB84
accent
#E14693
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B33C1

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

Preview Lab → · Contrast checker → · Palette generator →

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