#7B33B8#7B33B8

#7B33B8 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.199 H 304.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7B33B8
RGBrgb(123, 51, 184)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 72%, 72%)
CMYKcmyk(33.2%, 72.3%, 0%, 27.8%)
CIE-LABlab(37.91, 54.76, -57.47)
CIE-LCHlch(37.91, 79.38, 313.61°)
OKLaboklab(48.92% 0.1132 -0.1635)
OKLCHoklch(48.92% 0.199 304.7)
XYZxyz(18.0020, 10.0394, 46.3275)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33B8 #70B833
analogous
#3833B8 #7B33B8 #B833B2
triadic
#7B33B8 #B87B33 #33B87B
tetradic
#7B33B8 #B83833 #70B833 #33B2B8
square
#7B33B8 #B83833 #70B833 #33B2B8
split-complementary
#7B33B8 #B2B833 #33B838
monochromatic
#3B1858 #5B2688 #7B33B8 #9958D1 #B688DE

Accessibility & contrast

On white

6.98
#7B33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7B33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B33B8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33B8#FFFFFF#000000##FFFFFF
##7B33B81.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#6F5372
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b33b8;
/* rgb */ color: rgb(123, 51, 184);
/* oklch */ color: oklch(48.9% 0.199 304.7);
Tailwind
colors: {
  custom: {
    50: '#a671ce',
    500: '#7b33b8',
    950: '#000000',
  },
}
SCSS
$custom: #7b33b8;
$custom-light: #a671ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33b8",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 272.481,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.19882,
    "h": 304.7
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#7B33B8
secondary
#A0C87F
accent
#E0488E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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