#7B33BA#7B33BA

#7B33BA is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.201 H 304.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7B33BA
RGBrgb(123, 51, 186)
HSLhsl(272, 57%, 46%)
HSVhsv(272, 73%, 73%)
CMYKcmyk(33.9%, 72.6%, 0%, 27.1%)
CIE-LABlab(38.06, 55.23, -58.41)
CIE-LCHlch(38.06, 80.38, 313.40°)
OKLaboklab(49.07% 0.1128 -0.1662)
OKLCHoklch(49.07% 0.201 304.2)
XYZxyz(18.2131, 10.1238, 47.4394)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33BA #72BA33
analogous
#3833BA #7B33BA #BA33B6
triadic
#7B33BA #BA7B33 #33BA7B
tetradic
#7B33BA #BA3833 #72BA33 #33B6BA
square
#7B33BA #BA3833 #72BA33 #33B6BA
split-complementary
#7B33BA #B6BA33 #33BA38
monochromatic
#3B195A #5B268A #7B33BA #9959D1 #B789DF

Accessibility & contrast

On white

6.94
#7B33BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7B33BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B33BA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33BA#FFFFFF#000000##FFFFFF
##7B33BA1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#6F5474
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b33ba;
/* rgb */ color: rgb(123, 51, 186);
/* oklch */ color: oklch(49.1% 0.201 304.2);
Tailwind
colors: {
  custom: {
    50: '#a771d0',
    500: '#7b33ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b33ba;
$custom-light: #a771d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33ba",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 272,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.20088,
    "h": 304.2
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#7B33BA
secondary
#A2C980
accent
#E0488F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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