#7B36A5#7B36A5

#7B36A5 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.175 H 309.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7B36A5
RGBrgb(123, 54, 165)
HSLhsl(277, 51%, 43%)
HSVhsv(277, 67%, 65%)
CMYKcmyk(25.5%, 67.3%, 0%, 35.3%)
CIE-LABlab(37.05, 48.99, -47.56)
CIE-LCHlch(37.05, 68.28, 315.85°)
OKLaboklab(47.88% 0.1124 -0.1344)
OKLCHoklch(47.88% 0.175 309.9)
XYZxyz(16.2778, 9.5662, 36.5790)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36A5 #60A536
analogous
#4336A5 #7B36A5 #A53697
triadic
#7B36A5 #A57B36 #36A57B
tetradic
#7B36A5 #A54336 #60A536 #3697A5
square
#7B36A5 #A54336 #60A536 #3697A5
split-complementary
#7B36A5 #97A536 #36A543
monochromatic
#361849 #592777 #7B36A5 #9A52C6 #B580D5

Accessibility & contrast

On white

7.21
#7B36A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7B36A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B36A5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36A5#FFFFFF#000000##FFFFFF
##7B36A51.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#2558A3
Tritanopia (blue-blind)
#754D69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7b36a5;
/* rgb */ color: rgb(123, 54, 165);
/* oklch */ color: oklch(47.9% 0.175 309.9);
Tailwind
colors: {
  custom: {
    50: '#a572c0',
    500: '#7b36a5',
    950: '#000000',
  },
}
SCSS
$custom: #7b36a5;
$custom-light: #a572c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36a5",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 277.297,
    "s": 50.685,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47876,
    "c": 0.17522,
    "h": 309.9
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#7B36A5
secondary
#93BF78
accent
#DA4E83
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #7B36A5

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

Preview Lab → · Contrast checker → · Palette generator →

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