#7B36C3#7B36C3

#7B36C3 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.207 H 301.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7B36C3
RGBrgb(123, 54, 195)
HSLhsl(269, 57%, 49%)
HSVhsv(269, 72%, 76%)
CMYKcmyk(36.9%, 72.3%, 0%, 23.5%)
CIE-LABlab(39.22, 56.03, -61.80)
CIE-LCHlch(39.22, 83.42, 312.20°)
OKLaboklab(50.11% 0.1082 -0.1762)
OKLCHoklch(50.11% 0.207 301.5)
XYZxyz(19.3355, 10.7893, 52.6831)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36C3 #7EC336
analogous
#3637C3 #7B36C3 #C236C3
triadic
#7B36C3 #C37B36 #36C37B
tetradic
#7B36C3 #C33637 #7EC336 #36C3C2
square
#7B36C3 #C33637 #7EC336 #36C3C2
split-complementary
#7B36C3 #C3C236 #37C336
monochromatic
#3F1B63 #5D2993 #7B36C3 #9A63D4 #B992E1

Accessibility & contrast

On white

6.65
#7B36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7B36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36C3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36C3#FFFFFF#000000##FFFFFF
##7B36C31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#6B5979
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b36c3;
/* rgb */ color: rgb(123, 54, 195);
/* oklch */ color: oklch(50.1% 0.207 301.5);
Tailwind
colors: {
  custom: {
    50: '#a773d6',
    500: '#7b36c3',
    950: '#000000',
  },
}
SCSS
$custom: #7b36c3;
$custom-light: #a773d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36c3",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 269.362,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50109,
    "c": 0.20678,
    "h": 301.5
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#7B36C3
secondary
#ABCC89
accent
#E04896
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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