#7B36AE#7B36AE

#7B36AE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.185 H 307.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7B36AE
RGBrgb(123, 54, 174)
HSLhsl(275, 53%, 45%)
HSVhsv(275, 69%, 68%)
CMYKcmyk(29.3%, 69%, 0%, 31.8%)
CIE-LABlab(37.67, 51.06, -51.94)
CIE-LCHlch(37.67, 72.83, 314.51°)
OKLaboklab(48.52% 0.1115 -0.1472)
OKLCHoklch(48.52% 0.185 307.1)
XYZxyz(17.1259, 9.9055, 41.0459)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36AE #69AE36
analogous
#3F36AE #7B36AE #AE36A5
triadic
#7B36AE #AE7B36 #36AE7B
tetradic
#7B36AE #AE3F36 #69AE36 #36A5AE
square
#7B36AE #AE3F36 #69AE36 #36A5AE
split-complementary
#7B36AE #A5AE36 #36AE3F
monochromatic
#391951 #5A287F #7B36AE #9956CB #B685D9

Accessibility & contrast

On white

7.04
#7B36AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7B36AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B36AE
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36AE#FFFFFF#000000##FFFFFF
##7B36AE1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#1659AB
Tritanopia (blue-blind)
#73516E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7b36ae;
/* rgb */ color: rgb(123, 54, 174);
/* oklch */ color: oklch(48.5% 0.185 307.1);
Tailwind
colors: {
  custom: {
    50: '#a572c7',
    500: '#7b36ae',
    950: '#000000',
  },
}
SCSS
$custom: #7b36ae;
$custom-light: #a572c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36ae",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 274.5,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.1847,
    "h": 307.1
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#7B36AE
secondary
#9BC37D
accent
#DC4C89
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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