#7836BB#7836BB

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

Color values

HEX#7836BB
RGBrgb(120, 54, 187)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 73%)
CMYKcmyk(35.8%, 71.1%, 0%, 26.7%)
CIE-LABlab(38.23, 53.54, -58.74)
CIE-LCHlch(38.23, 79.48, 312.35°)
OKLaboklab(49.13% 0.1055 -0.1673)
OKLCHoklch(49.13% 0.198 302.2)
XYZxyz(18.0324, 10.2192, 48.0266)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836BB #79BB36
analogous
#3637BB #7836BB #BA36BB
triadic
#7836BB #BB7836 #36BB78
tetradic
#7836BB #BB3637 #79BB36 #36BBBA
square
#7836BB #BB3637 #79BB36 #36BBBA
split-complementary
#7836BB #BBBA36 #37BB36
monochromatic
#3B1B5C #5A288C #7836BB #975ED0 #B58DDE

Accessibility & contrast

On white

6.90
#7836BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7836BB#FFFFFF#000000##FFFFFF
##7836BB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#6A5675
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7836bb;
/* rgb */ color: rgb(120, 54, 187);
/* oklch */ color: oklch(49.1% 0.198 302.2);
Tailwind
colors: {
  custom: {
    50: '#a473d0',
    500: '#7836bb',
    950: '#000000',
  },
}
SCSS
$custom: #7836bb;
$custom-light: #a473d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7836bb",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 269.774,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.19778,
    "h": 302.2
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#7836BB
secondary
#A7C984
accent
#DF4994
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7836BB

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

Preview Lab → · Contrast checker → · Palette generator →

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