#7836B8#7836B8

#7836B8 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.9% C 0.195 H 303.0°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7836B8
RGBrgb(120, 54, 184)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 72%)
CMYKcmyk(34.8%, 70.7%, 0%, 27.8%)
CIE-LABlab(38.01, 52.82, -57.34)
CIE-LCHlch(38.01, 77.96, 312.65°)
OKLaboklab(48.9% 0.106 -0.1632)
OKLCHoklch(48.9% 0.195 303)
XYZxyz(17.7146, 10.0921, 46.3528)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836B8 #76B836
analogous
#3736B8 #7836B8 #B836B7
triadic
#7836B8 #B87836 #36B878
tetradic
#7836B8 #B83736 #76B836 #36B7B8
square
#7836B8 #B83736 #76B836 #36B7B8
split-complementary
#7836B8 #B7B836 #36B837
monochromatic
#3A1A59 #592889 #7836B8 #965CCF #B58BDD

Accessibility & contrast

On white

6.96
#7836B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7836B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836B8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836B8#FFFFFF#000000##FFFFFF
##7836B81.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#6B5573
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7836b8;
/* rgb */ color: rgb(120, 54, 184);
/* oklch */ color: oklch(48.9% 0.195 303.0);
Tailwind
colors: {
  custom: {
    50: '#a472ce',
    500: '#7836b8',
    950: '#000000',
  },
}
SCSS
$custom: #7836b8;
$custom-light: #a472ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7836b8",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 270.462,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48901,
    "c": 0.19459,
    "h": 303
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#7836B8
secondary
#A4C782
accent
#DE4A93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7836B8

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

Preview Lab → · Contrast checker → · Palette generator →

#7836B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva