#7B36AD#7B36AD

#7B36AD is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.184 H 307.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7B36AD
RGBrgb(123, 54, 173)
HSLhsl(275, 52%, 45%)
HSVhsv(275, 69%, 68%)
CMYKcmyk(28.9%, 68.8%, 0%, 32.2%)
CIE-LABlab(37.60, 50.83, -51.46)
CIE-LCHlch(37.60, 72.33, 314.65°)
OKLaboklab(48.45% 0.1116 -0.1458)
OKLCHoklch(48.45% 0.184 307.4)
XYZxyz(17.0288, 9.8666, 40.5344)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36AD #68AD36
analogous
#4036AD #7B36AD #AD36A4
triadic
#7B36AD #AD7B36 #36AD7B
tetradic
#7B36AD #AD4036 #68AD36 #36A4AD
square
#7B36AD #AD4036 #68AD36 #36A4AD
split-complementary
#7B36AD #A4AD36 #36AD40
monochromatic
#391950 #5A277E #7B36AD #9956CA #B585D9

Accessibility & contrast

On white

7.06
#7B36AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7B36AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B36AD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36AD#FFFFFF#000000##FFFFFF
##7B36AD1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#1859AA
Tritanopia (blue-blind)
#73506D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b36ad;
/* rgb */ color: rgb(123, 54, 173);
/* oklch */ color: oklch(48.4% 0.184 307.4);
Tailwind
colors: {
  custom: {
    50: '#a572c6',
    500: '#7b36ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b36ad;
$custom-light: #a572c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36ad",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 274.79,
    "s": 52.423,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.18365,
    "h": 307.4
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#7B36AD
secondary
#9AC27C
accent
#DC4C88
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B36AD

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

Preview Lab → · Contrast checker → · Palette generator →

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