#7B33C6#7B33C6

#7B33C6 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.213 H 301.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7B33C6
RGBrgb(123, 51, 198)
HSLhsl(269, 59%, 49%)
HSVhsv(269, 74%, 78%)
CMYKcmyk(37.9%, 74.2%, 0%, 22.4%)
CIE-LABlab(38.99, 58.07, -63.92)
CIE-LCHlch(38.99, 86.36, 312.25°)
OKLaboklab(50.02% 0.1103 -0.1824)
OKLCHoklch(50.02% 0.213 301.2)
XYZxyz(19.5428, 10.6557, 54.4423)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33C6 #7EC633
analogous
#3335C6 #7B33C6 #C533C6
triadic
#7B33C6 #C67B33 #33C67B
tetradic
#7B33C6 #C63335 #7EC633 #33C6C5
square
#7B33C6 #C63335 #7EC633 #33C6C5
split-complementary
#7B33C6 #C6C533 #35C633
monochromatic
#3F1A65 #5D2695 #7B33C6 #9A60D6 #B991E3

Accessibility & contrast

On white

6.71
#7B33C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7B33C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B33C6
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33C6#FFFFFF#000000##FFFFFF
##7B33C61.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#6A587A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b33c6;
/* rgb */ color: rgb(123, 51, 198);
/* oklch */ color: oklch(50.0% 0.213 301.2);
Tailwind
colors: {
  custom: {
    50: '#a872d8',
    500: '#7b33c6',
    950: '#000000',
  },
}
SCSS
$custom: #7b33c6;
$custom-light: #a872d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33c6",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 269.388,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.21321,
    "h": 301.2
  },
  "luminance": 0.10656
}

Semantic roles & 50–950 ramp

primary
#7B33C6
secondary
#ABCD87
accent
#E24695
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7B33C6

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

Preview Lab → · Contrast checker → · Palette generator →

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