#7836AA#7836AA

#7836AA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.180 H 306.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7836AA
RGBrgb(120, 54, 170)
HSLhsl(274, 52%, 44%)
HSVhsv(274, 68%, 67%)
CMYKcmyk(29.4%, 68.2%, 0%, 33.3%)
CIE-LABlab(36.99, 49.48, -50.67)
CIE-LCHlch(36.99, 70.83, 314.32°)
OKLaboklab(47.86% 0.1079 -0.1436)
OKLCHoklch(47.86% 0.18 306.9)
XYZxyz(16.3191, 9.5339, 39.0029)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836AA #68AA36
analogous
#3E36AA #7836AA #AA36A2
triadic
#7836AA #AA7836 #36AA78
tetradic
#7836AA #AA3E36 #68AA36 #36A2AA
square
#7836AA #AA3E36 #68AA36 #36A2AA
split-complementary
#7836AA #A2AA36 #36AA3E
monochromatic
#36184D #57277C #7836AA #9754C9 #B383D8

Accessibility & contrast

On white

7.22
#7836AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7836AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7836AA#FFFFFF#000000##FFFFFF
##7836AA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#1858A7
Tritanopia (blue-blind)
#704F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7836aa;
/* rgb */ color: rgb(120, 54, 170);
/* oklch */ color: oklch(47.9% 0.180 306.9);
Tailwind
colors: {
  custom: {
    50: '#a372c4',
    500: '#7836aa',
    950: '#000000',
  },
}
SCSS
$custom: #7836aa;
$custom-light: #a372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7836aa",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 274.138,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.17963,
    "h": 306.9
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#7836AA
secondary
#99C17B
accent
#DB4D8A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7836AA

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

Preview Lab → · Contrast checker → · Palette generator →

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