#7B36BB#7B36BB

#7B36BB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.5% C 0.198 H 303.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7B36BB
RGBrgb(123, 54, 187)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 73%)
CMYKcmyk(34.2%, 71.1%, 0%, 26.7%)
CIE-LABlab(38.62, 54.12, -58.10)
CIE-LCHlch(38.62, 79.40, 312.97°)
OKLaboklab(49.49% 0.1096 -0.1653)
OKLCHoklch(49.49% 0.198 303.5)
XYZxyz(18.4551, 10.4372, 48.0464)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36BB #76BB36
analogous
#3936BB #7B36BB #BB36B9
triadic
#7B36BB #BB7B36 #36BB7B
tetradic
#7B36BB #BB3936 #76BB36 #36B9BB
square
#7B36BB #BB3936 #76BB36 #36B9BB
split-complementary
#7B36BB #B9BB36 #36BB39
monochromatic
#3D1B5C #5C288C #7B36BB #995ED0 #B78DDE

Accessibility & contrast

On white

6.80
#7B36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7B36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36BB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36BB#FFFFFF#000000##FFFFFF
##7B36BB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#6E5675
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b36bb;
/* rgb */ color: rgb(123, 54, 187);
/* oklch */ color: oklch(49.5% 0.198 303.5);
Tailwind
colors: {
  custom: {
    50: '#a673d0',
    500: '#7b36bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b36bb;
$custom-light: #a673d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36bb",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 271.128,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49488,
    "c": 0.19839,
    "h": 303.5
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#7B36BB
secondary
#A5C984
accent
#DF4991
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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