#7B33BC#7B33BC

#7B33BC is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.203 H 303.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7B33BC
RGBrgb(123, 51, 188)
HSLhsl(272, 57%, 47%)
HSVhsv(272, 73%, 74%)
CMYKcmyk(34.6%, 72.9%, 0%, 26.3%)
CIE-LABlab(38.22, 55.70, -59.34)
CIE-LCHlch(38.22, 81.38, 313.19°)
OKLaboklab(49.23% 0.1124 -0.169)
OKLCHoklch(49.23% 0.203 303.6)
XYZxyz(18.4272, 10.2095, 48.5670)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B33BC #74BC33
analogous
#3733BC #7B33BC #BC33B9
triadic
#7B33BC #BC7B33 #33BC7B
tetradic
#7B33BC #BC3733 #74BC33 #33B9BC
square
#7B33BC #BC3733 #74BC33 #33B9BC
split-complementary
#7B33BC #B9BC33 #33BC37
monochromatic
#3C195C #5C268C #7B33BC #995AD2 #B78ADF

Accessibility & contrast

On white

6.90
#7B33BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7B33BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B33BC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B33BC#FFFFFF#000000##FFFFFF
##7B33BC1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#6E5475
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b33bc;
/* rgb */ color: rgb(123, 51, 188);
/* oklch */ color: oklch(49.2% 0.203 303.6);
Tailwind
colors: {
  custom: {
    50: '#a771d1',
    500: '#7b33bc',
    950: '#000000',
  },
}
SCSS
$custom: #7b33bc;
$custom-light: #a771d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b33bc",
  "rgb": {
    "r": 123,
    "g": 51,
    "b": 188
  },
  "hsl": {
    "h": 271.533,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.20294,
    "h": 303.6
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#7B33BC
secondary
#A4C981
accent
#E14790
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B33BC

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

Preview Lab → · Contrast checker → · Palette generator →

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