#7836BD#7836BD

#7836BD is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.3% C 0.200 H 301.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7836BD
RGBrgb(120, 54, 189)
HSLhsl(269, 56%, 48%)
HSVhsv(269, 71%, 74%)
CMYKcmyk(36.5%, 71.4%, 0%, 25.9%)
CIE-LABlab(38.39, 54.03, -59.67)
CIE-LCHlch(38.39, 80.49, 312.16°)
OKLaboklab(49.29% 0.1051 -0.17)
OKLCHoklch(49.29% 0.2 301.7)
XYZxyz(18.2480, 10.3054, 49.1620)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836BD #7BBD36
analogous
#3638BD #7836BD #BB36BD
triadic
#7836BD #BD7836 #36BD78
tetradic
#7836BD #BD3638 #7BBD36 #36BDBB
square
#7836BD #BD3638 #7BBD36 #36BDBB
split-complementary
#7836BD #BDBB36 #38BD36
monochromatic
#3C1B5E #5A288D #7836BD #975FD1 #B68FDF

Accessibility & contrast

On white

6.86
#7836BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7836BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7836BD#FFFFFF#000000##FFFFFF
##7836BD1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#695776
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7836bd;
/* rgb */ color: rgb(120, 54, 189);
/* oklch */ color: oklch(49.3% 0.200 301.7);
Tailwind
colors: {
  custom: {
    50: '#a573d2',
    500: '#7836bd',
    950: '#000000',
  },
}
SCSS
$custom: #7836bd;
$custom-light: #a573d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7836bd",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 269.333,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.19991,
    "h": 301.7
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#7836BD
secondary
#A8C985
accent
#DF4996
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7836BD

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

Preview Lab → · Contrast checker → · Palette generator →

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