#7836BA#7836BA

#7836BA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.197 H 302.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7836BA
RGBrgb(120, 54, 186)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 73%)
CMYKcmyk(35.5%, 71%, 0%, 27.1%)
CIE-LABlab(38.16, 53.30, -58.27)
CIE-LCHlch(38.16, 78.97, 312.45°)
OKLaboklab(49.06% 0.1056 -0.1659)
OKLCHoklch(49.06% 0.197 302.5)
XYZxyz(17.9257, 10.1765, 47.4647)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836BA #78BA36
analogous
#3636BA #7836BA #BA36BA
triadic
#7836BA #BA7836 #36BA78
tetradic
#7836BA #BA3636 #78BA36 #36BABA
square
#7836BA #BA3636 #78BA36 #36BABA
split-complementary
#7836BA #BABA36 #36BA36
monochromatic
#3B1A5B #59288B #7836BA #975DD0 #B58DDE

Accessibility & contrast

On white

6.92
#7836BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7836BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836BA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836BA#FFFFFF#000000##FFFFFF
##7836BA1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#6A5674
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7836ba;
/* rgb */ color: rgb(120, 54, 186);
/* oklch */ color: oklch(49.1% 0.197 302.5);
Tailwind
colors: {
  custom: {
    50: '#a473d0',
    500: '#7836ba',
    950: '#000000',
  },
}
SCSS
$custom: #7836ba;
$custom-light: #a473d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7836ba",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 270,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49055,
    "c": 0.19672,
    "h": 302.5
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#7836BA
secondary
#A6C884
accent
#DE4994
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7836BA

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

Preview Lab → · Contrast checker → · Palette generator →

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