#7B33B7#7B33B7

#7B33B7 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.8% C 0.198 H 305.0°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#7B33B7
RGBrgb(123, 51, 183)
HSLhsl(273, 56%, 46%)
HSVhsv(273, 72%, 72%)
CMYKcmyk(32.8%, 72.1%, 0%, 28.2%)
CIE-LABlab(37.84, 54.52, -57.00)
CIE-LCHlch(37.84, 78.88, 313.73°)
OKLaboklab(48.84% 0.1133 -0.1621)
OKLCHoklch(48.84% 0.198 305)
XYZxyz(17.8975, 9.9976, 45.7774)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33B7 #6FB733
analogous
#3933B7 #7B33B7 #B733B1
triadic
#7B33B7 #B77B33 #33B77B
tetradic
#7B33B7 #B73933 #6FB733 #33B1B7
square
#7B33B7 #B73933 #6FB733 #33B1B7
split-complementary
#7B33B7 #B1B733 #33B739
monochromatic
#3B1857 #5B2687 #7B33B7 #9957D0 #B687DE

Accessibility & contrast

On white

7.00
#7B33B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#7B33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B33B7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33B7#FFFFFF#000000##FFFFFF
##7B33B71.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#705272
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b33b7;
/* rgb */ color: rgb(123, 51, 183);
/* oklch */ color: oklch(48.8% 0.198 305.0);
Tailwind
colors: {
  custom: {
    50: '#a671cd',
    500: '#7b33b7',
    950: '#000000',
  },
}
SCSS
$custom: #7b33b7;
$custom-light: #a671cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33b7",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 272.727,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48842,
    "c": 0.19778,
    "h": 305
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#7B33B7
secondary
#A0C77F
accent
#E0488D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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