#7B36BF#7B36BF

#7B36BF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.203 H 302.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7B36BF
RGBrgb(123, 54, 191)
HSLhsl(270, 56%, 48%)
HSVhsv(270, 72%, 75%)
CMYKcmyk(35.6%, 71.7%, 0%, 25.1%)
CIE-LABlab(38.92, 55.07, -59.96)
CIE-LCHlch(38.92, 81.41, 312.57°)
OKLaboklab(49.8% 0.1089 -0.1708)
OKLCHoklch(49.8% 0.203 302.5)
XYZxyz(18.8893, 10.6108, 50.3331)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36BF #7ABF36
analogous
#3736BF #7B36BF #BF36BE
triadic
#7B36BF #BF7B36 #36BF7B
tetradic
#7B36BF #BF3736 #7ABF36 #36BEBF
square
#7B36BF #BF3736 #7ABF36 #36BEBF
split-complementary
#7B36BF #BEBF36 #36BF37
monochromatic
#3E1B60 #5C298F #7B36BF #9A60D2 #B890E0

Accessibility & contrast

On white

6.73
#7B36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7B36BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36BF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36BF#FFFFFF#000000##FFFFFF
##7B36BF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#6D5777
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7b36bf;
/* rgb */ color: rgb(123, 54, 191);
/* oklch */ color: oklch(49.8% 0.203 302.5);
Tailwind
colors: {
  custom: {
    50: '#a773d3',
    500: '#7b36bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b36bf;
$custom-light: #a773d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36bf",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 270.219,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.20258,
    "h": 302.5
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#7B36BF
secondary
#A8CA87
accent
#DF4993
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7B36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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