#7B36C1#7B36C1

#7B36C1 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.205 H 302.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7B36C1
RGBrgb(123, 54, 193)
HSLhsl(270, 56%, 48%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(36.3%, 72%, 0%, 24.3%)
CIE-LABlab(39.07, 55.55, -60.88)
CIE-LCHlch(39.07, 82.42, 312.38°)
OKLaboklab(49.95% 0.1086 -0.1735)
OKLCHoklch(49.95% 0.205 302)
XYZxyz(19.1109, 10.6995, 51.5001)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36C1 #7CC136
analogous
#3637C1 #7B36C1 #C036C1
triadic
#7B36C1 #C17B36 #36C17B
tetradic
#7B36C1 #C13637 #7CC136 #36C1C0
square
#7B36C1 #C13637 #7CC136 #36C1C0
split-complementary
#7B36C1 #C1C036 #37C136
monochromatic
#3E1B61 #5D2991 #7B36C1 #9A61D3 #B891E0

Accessibility & contrast

On white

6.69
#7B36C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7B36C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36C1
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36C1#FFFFFF#000000##FFFFFF
##7B36C11.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#6C5878
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b36c1;
/* rgb */ color: rgb(123, 54, 193);
/* oklch */ color: oklch(50.0% 0.205 302.0);
Tailwind
colors: {
  custom: {
    50: '#a773d5',
    500: '#7b36c1',
    950: '#000000',
  },
}
SCSS
$custom: #7b36c1;
$custom-light: #a773d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36c1",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 269.784,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49952,
    "c": 0.20469,
    "h": 302
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#7B36C1
secondary
#AACB88
accent
#E04894
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B36C1

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

Preview Lab → · Contrast checker → · Palette generator →

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