#7B36BC#7B36BC

#7B36BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.199 H 303.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7B36BC
RGBrgb(123, 54, 188)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 74%)
CMYKcmyk(34.6%, 71.3%, 0%, 26.3%)
CIE-LABlab(38.69, 54.36, -58.56)
CIE-LCHlch(38.69, 79.90, 312.87°)
OKLaboklab(49.56% 0.1095 -0.1667)
OKLCHoklch(49.56% 0.199 303.3)
XYZxyz(18.5625, 10.4801, 48.6121)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36BC #77BC36
analogous
#3836BC #7B36BC #BC36BA
triadic
#7B36BC #BC7B36 #36BC7B
tetradic
#7B36BC #BC3836 #77BC36 #36BABC
square
#7B36BC #BC3836 #77BC36 #36BABC
split-complementary
#7B36BC #BABC36 #36BC38
monochromatic
#3D1B5D #5C288C #7B36BC #995ED1 #B78EDF

Accessibility & contrast

On white

6.78
#7B36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7B36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36BC
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36BC#FFFFFF#000000##FFFFFF
##7B36BC1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#6E5675
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b36bc;
/* rgb */ color: rgb(123, 54, 188);
/* oklch */ color: oklch(49.6% 0.199 303.3);
Tailwind
colors: {
  custom: {
    50: '#a773d1',
    500: '#7b36bc',
    950: '#000000',
  },
}
SCSS
$custom: #7b36bc;
$custom-light: #a773d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36bc",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 270.896,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49564,
    "c": 0.19944,
    "h": 303.3
  },
  "luminance": 0.1048
}

Semantic roles & 50–950 ramp

primary
#7B36BC
secondary
#A6C985
accent
#DF4992
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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