#7B36C2#7B36C2

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

Color values

HEX#7B36C2
RGBrgb(123, 54, 194)
HSLhsl(270, 56%, 49%)
HSVhsv(270, 72%, 76%)
CMYKcmyk(36.6%, 72.2%, 0%, 23.9%)
CIE-LABlab(39.15, 55.79, -61.34)
CIE-LCHlch(39.15, 82.92, 312.29°)
OKLaboklab(50.03% 0.1084 -0.1749)
OKLCHoklch(50.03% 0.206 301.8)
XYZxyz(19.2228, 10.7442, 52.0896)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36C2 #7DC236
analogous
#3637C2 #7B36C2 #C136C2
triadic
#7B36C2 #C27B36 #36C27B
tetradic
#7B36C2 #C23637 #7DC236 #36C2C1
square
#7B36C2 #C23637 #7DC236 #36C2C1
split-complementary
#7B36C2 #C2C136 #37C236
monochromatic
#3E1B62 #5D2992 #7B36C2 #9A62D3 #B992E1

Accessibility & contrast

On white

6.67
#7B36C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7B36C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36C2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36C2#FFFFFF#000000##FFFFFF
##7B36C21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#6C5879
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b36c2;
/* rgb */ color: rgb(123, 54, 194);
/* oklch */ color: oklch(50.0% 0.206 301.8);
Tailwind
colors: {
  custom: {
    50: '#a773d5',
    500: '#7b36c2',
    950: '#000000',
  },
}
SCSS
$custom: #7b36c2;
$custom-light: #a773d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36c2",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 269.571,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.20573,
    "h": 301.8
  },
  "luminance": 0.10744
}

Semantic roles & 50–950 ramp

primary
#7B36C2
secondary
#AACC88
accent
#E04895
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B36C2

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

Preview Lab → · Contrast checker → · Palette generator →

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