#7B33BB#7B33BB

#7B33BB is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.202 H 303.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7B33BB
RGBrgb(123, 51, 187)
HSLhsl(272, 57%, 47%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(34.2%, 72.7%, 0%, 26.7%)
CIE-LABlab(38.14, 55.46, -58.87)
CIE-LCHlch(38.14, 80.88, 313.29°)
OKLaboklab(49.15% 0.1126 -0.1676)
OKLCHoklch(49.15% 0.202 303.9)
XYZxyz(18.3198, 10.1665, 48.0013)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33BB #73BB33
analogous
#3733BB #7B33BB #BB33B7
triadic
#7B33BB #BB7B33 #33BB7B
tetradic
#7B33BB #BB3733 #73BB33 #33B7BB
square
#7B33BB #BB3733 #73BB33 #33B7BB
split-complementary
#7B33BB #B7BB33 #33BB37
monochromatic
#3C195B #5B268B #7B33BB #9959D2 #B789DF

Accessibility & contrast

On white

6.92
#7B33BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7B33BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B33BB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33BB#FFFFFF#000000##FFFFFF
##7B33BB1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#6E5474
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b33bb;
/* rgb */ color: rgb(123, 51, 187);
/* oklch */ color: oklch(49.1% 0.202 303.9);
Tailwind
colors: {
  custom: {
    50: '#a771d0',
    500: '#7b33bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b33bb;
$custom-light: #a771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33bb",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 187
  },
  "hsl": {
    "h": 271.765,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.2019,
    "h": 303.9
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#7B33BB
secondary
#A3C981
accent
#E0478F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B33BB

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

Preview Lab → · Contrast checker → · Palette generator →

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