#7B36AB#7B36AB

#7B36AB is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.182 H 308.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7B36AB
RGBrgb(123, 54, 171)
HSLhsl(275, 52%, 44%)
HSVhsv(275, 68%, 67%)
CMYKcmyk(28.1%, 68.4%, 0%, 32.9%)
CIE-LABlab(37.46, 50.37, -50.49)
CIE-LCHlch(37.46, 71.32, 314.93°)
OKLaboklab(48.3% 0.1119 -0.143)
OKLCHoklch(48.3% 0.182 308)
XYZxyz(16.8367, 9.7898, 39.5228)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36AB #66AB36
analogous
#4136AB #7B36AB #AB36A1
triadic
#7B36AB #AB7B36 #36AB7B
tetradic
#7B36AB #AB4136 #66AB36 #36A1AB
square
#7B36AB #AB4136 #66AB36 #36A1AB
split-complementary
#7B36AB #A1AB36 #36AB41
monochromatic
#38194E #5A277C #7B36AB #9A55C9 #B583D8

Accessibility & contrast

On white

7.10
#7B36AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7B36AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B36AB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36AB#FFFFFF#000000##FFFFFF
##7B36AB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#744F6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b36ab;
/* rgb */ color: rgb(123, 54, 171);
/* oklch */ color: oklch(48.3% 0.182 308.0);
Tailwind
colors: {
  custom: {
    50: '#a572c5',
    500: '#7b36ab',
    950: '#000000',
  },
}
SCSS
$custom: #7b36ab;
$custom-light: #a572c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36ab",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 275.385,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48301,
    "c": 0.18154,
    "h": 308
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#7B36AB
secondary
#98C27B
accent
#DB4C87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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