#7B36BA#7B36BA

#7B36BA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.197 H 303.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7B36BA
RGBrgb(123, 54, 186)
HSLhsl(271, 55%, 47%)
HSVhsv(271, 71%, 73%)
CMYKcmyk(33.9%, 71%, 0%, 27.1%)
CIE-LABlab(38.54, 53.88, -57.63)
CIE-LCHlch(38.54, 78.90, 313.07°)
OKLaboklab(49.41% 0.1098 -0.164)
OKLCHoklch(49.41% 0.197 303.8)
XYZxyz(18.3484, 10.3945, 47.4846)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36BA #75BA36
analogous
#3936BA #7B36BA #BA36B7
triadic
#7B36BA #BA7B36 #36BA7B
tetradic
#7B36BA #BA3936 #75BA36 #36B7BA
square
#7B36BA #BA3936 #75BA36 #36B7BA
split-complementary
#7B36BA #B7BA36 #36BA39
monochromatic
#3C1A5B #5C288B #7B36BA #995DD0 #B78DDE

Accessibility & contrast

On white

6.82
#7B36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7B36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36BA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36BA#FFFFFF#000000##FFFFFF
##7B36BA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#6F5574
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b36ba;
/* rgb */ color: rgb(123, 54, 186);
/* oklch */ color: oklch(49.4% 0.197 303.8);
Tailwind
colors: {
  custom: {
    50: '#a673d0',
    500: '#7b36ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b36ba;
$custom-light: #a673d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36ba",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 271.364,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49411,
    "c": 0.19734,
    "h": 303.8
  },
  "luminance": 0.10394
}

Semantic roles & 50–950 ramp

primary
#7B36BA
secondary
#A4C884
accent
#DE4991
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7B36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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