#7B36B8#7B36B8

#7B36B8 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.195 H 304.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7B36B8
RGBrgb(123, 54, 184)
HSLhsl(272, 55%, 47%)
HSVhsv(272, 71%, 72%)
CMYKcmyk(33.2%, 70.7%, 0%, 27.8%)
CIE-LABlab(38.39, 53.41, -56.69)
CIE-LCHlch(38.39, 77.89, 313.29°)
OKLaboklab(49.26% 0.1101 -0.1612)
OKLCHoklch(49.26% 0.195 304.3)
XYZxyz(18.1373, 10.3100, 46.3726)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36B8 #73B836
analogous
#3A36B8 #7B36B8 #B836B4
triadic
#7B36B8 #B87B36 #36B87B
tetradic
#7B36B8 #B83A36 #73B836 #36B4B8
square
#7B36B8 #B83A36 #73B836 #36B4B8
split-complementary
#7B36B8 #B4B836 #36B83A
monochromatic
#3C1A59 #5B2889 #7B36B8 #995CCF #B78BDD

Accessibility & contrast

On white

6.86
#7B36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7B36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36B8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36B8#FFFFFF#000000##FFFFFF
##7B36B81.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#6F5473
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b36b8;
/* rgb */ color: rgb(123, 54, 184);
/* oklch */ color: oklch(49.3% 0.195 304.3);
Tailwind
colors: {
  custom: {
    50: '#a673ce',
    500: '#7b36b8',
    950: '#000000',
  },
}
SCSS
$custom: #7b36b8;
$custom-light: #a673ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36b8",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 271.846,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49259,
    "c": 0.19524,
    "h": 304.3
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#7B36B8
secondary
#A3C782
accent
#DE4A8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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