#7B33B5#7B33B5

#7B33B5 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.196 H 305.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7B33B5
RGBrgb(123, 51, 181)
HSLhsl(273, 56%, 45%)
HSVhsv(273, 72%, 71%)
CMYKcmyk(32%, 71.8%, 0%, 29%)
CIE-LABlab(37.69, 54.06, -56.06)
CIE-LCHlch(37.69, 77.88, 313.96°)
OKLaboklab(48.69% 0.1137 -0.1593)
OKLCHoklch(48.69% 0.196 305.5)
XYZxyz(17.6908, 9.9149, 44.6889)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33B5 #6DB533
analogous
#3A33B5 #7B33B5 #B533AE
triadic
#7B33B5 #B57B33 #33B57B
tetradic
#7B33B5 #B53A33 #6DB533 #33AEB5
square
#7B33B5 #B53A33 #6DB533 #33AEB5
split-complementary
#7B33B5 #AEB533 #33B53A
monochromatic
#3A1856 #5B2685 #7B33B5 #9956CF #B686DD

Accessibility & contrast

On white

7.04
#7B33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7B33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B33B5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33B5#FFFFFF#000000##FFFFFF
##7B33B51.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#705271
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b33b5;
/* rgb */ color: rgb(123, 51, 181);
/* oklch */ color: oklch(48.7% 0.196 305.5);
Tailwind
colors: {
  custom: {
    50: '#a671cc',
    500: '#7b33b5',
    950: '#000000',
  },
}
SCSS
$custom: #7b33b5;
$custom-light: #a671cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33b5",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 273.231,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48689,
    "c": 0.19572,
    "h": 305.5
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#7B33B5
secondary
#9EC67D
accent
#DF488C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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