#7B36C5#7B36C5

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

Color values

HEX#7B36C5
RGBrgb(123, 54, 197)
HSLhsl(269, 57%, 49%)
HSVhsv(269, 73%, 77%)
CMYKcmyk(37.6%, 72.6%, 0%, 22.7%)
CIE-LABlab(39.38, 56.51, -62.71)
CIE-LCHlch(39.38, 84.42, 312.02°)
OKLaboklab(50.27% 0.1078 -0.1789)
OKLCHoklch(50.27% 0.209 301.1)
XYZxyz(19.5631, 10.8804, 53.8820)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36C5 #80C536
analogous
#3639C5 #7B36C5 #C336C5
triadic
#7B36C5 #C57B36 #36C57B
tetradic
#7B36C5 #C53639 #80C536 #36C5C3
square
#7B36C5 #C53639 #80C536 #36C5C3
split-complementary
#7B36C5 #C5C336 #39C536
monochromatic
#3F1C65 #5D2995 #7B36C5 #9A64D4 #B994E2

Accessibility & contrast

On white

6.61
#7B36C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7B36C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36C5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36C5#FFFFFF#000000##FFFFFF
##7B36C51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#6B5A7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b36c5;
/* rgb */ color: rgb(123, 54, 197);
/* oklch */ color: oklch(50.3% 0.209 301.1);
Tailwind
colors: {
  custom: {
    50: '#a773d8',
    500: '#7b36c5',
    950: '#000000',
  },
}
SCSS
$custom: #7b36c5;
$custom-light: #a773d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36c5",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 268.951,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.20888,
    "h": 301.1
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#7B36C5
secondary
#ADCD8A
accent
#E04897
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7B36C5

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

Preview Lab → · Contrast checker → · Palette generator →

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