#7B36BD#7B36BD

#7B36BD is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.200 H 303.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7B36BD
RGBrgb(123, 54, 189)
HSLhsl(271, 56%, 48%)
HSVhsv(271, 71%, 74%)
CMYKcmyk(34.9%, 71.4%, 0%, 25.9%)
CIE-LABlab(38.77, 54.59, -59.03)
CIE-LCHlch(38.77, 80.41, 312.76°)
OKLaboklab(49.64% 0.1093 -0.1681)
OKLCHoklch(49.64% 0.2 303)
XYZxyz(18.6707, 10.5234, 49.1818)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36BD #78BD36
analogous
#3836BD #7B36BD #BD36BB
triadic
#7B36BD #BD7B36 #36BD7B
tetradic
#7B36BD #BD3836 #78BD36 #36BBBD
square
#7B36BD #BD3836 #78BD36 #36BBBD
split-complementary
#7B36BD #BBBD36 #36BD38
monochromatic
#3D1B5E #5C288D #7B36BD #995FD1 #B88FDF

Accessibility & contrast

On white

6.76
#7B36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#7B36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36BD
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36BD#FFFFFF#000000##FFFFFF
##7B36BD1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#6E5676
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b36bd;
/* rgb */ color: rgb(123, 54, 189);
/* oklch */ color: oklch(49.6% 0.200 303.0);
Tailwind
colors: {
  custom: {
    50: '#a773d2',
    500: '#7b36bd',
    950: '#000000',
  },
}
SCSS
$custom: #7b36bd;
$custom-light: #a773d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36bd",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 270.667,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.20049,
    "h": 303
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#7B36BD
secondary
#A7C985
accent
#DF4992
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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