#7B36C6#7B36C6

#7B36C6 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.210 H 300.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7B36C6
RGBrgb(123, 54, 198)
HSLhsl(269, 57%, 49%)
HSVhsv(269, 73%, 78%)
CMYKcmyk(37.9%, 72.7%, 0%, 22.4%)
CIE-LABlab(39.46, 56.76, -63.17)
CIE-LCHlch(39.46, 84.92, 311.94°)
OKLaboklab(50.35% 0.1076 -0.1802)
OKLCHoklch(50.35% 0.21 300.8)
XYZxyz(19.6781, 10.9264, 54.4874)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36C6 #81C636
analogous
#3639C6 #7B36C6 #C336C6
triadic
#7B36C6 #C67B36 #36C67B
tetradic
#7B36C6 #C63639 #81C636 #36C6C3
square
#7B36C6 #C63639 #81C636 #36C6C3
split-complementary
#7B36C6 #C6C336 #39C636
monochromatic
#3F1C66 #5D2996 #7B36C6 #9A64D5 #BA94E2

Accessibility & contrast

On white

6.59
#7B36C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7B36C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36C6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36C6#FFFFFF#000000##FFFFFF
##7B36C61.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#6A5A7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b36c6;
/* rgb */ color: rgb(123, 54, 198);
/* oklch */ color: oklch(50.3% 0.210 300.8);
Tailwind
colors: {
  custom: {
    50: '#a773d8',
    500: '#7b36c6',
    950: '#000000',
  },
}
SCSS
$custom: #7b36c6;
$custom-light: #a773d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36c6",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 268.75,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.20992,
    "h": 300.8
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#7B36C6
secondary
#ADCD8B
accent
#E04797
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7B36C6

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

Preview Lab → · Contrast checker → · Palette generator →

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