#7836BC#7836BC

#7836BC is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.199 H 302.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7836BC
RGBrgb(120, 54, 188)
HSLhsl(270, 55%, 47%)
HSVhsv(270, 71%, 74%)
CMYKcmyk(36.2%, 71.3%, 0%, 26.3%)
CIE-LABlab(38.31, 53.78, -59.20)
CIE-LCHlch(38.31, 79.98, 312.25°)
OKLaboklab(49.21% 0.1053 -0.1687)
OKLCHoklch(49.21% 0.199 302)
XYZxyz(18.1398, 10.2622, 48.5923)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836BC #7ABC36
analogous
#3637BC #7836BC #BB36BC
triadic
#7836BC #BC7836 #36BC78
tetradic
#7836BC #BC3637 #7ABC36 #36BCBB
square
#7836BC #BC3637 #7ABC36 #36BCBB
split-complementary
#7836BC #BCBB36 #37BC36
monochromatic
#3B1B5D #5A288C #7836BC #975ED1 #B68EDF

Accessibility & contrast

On white

6.88
#7836BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7836BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7836BC#FFFFFF#000000##FFFFFF
##7836BC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#6A5675
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7836bc;
/* rgb */ color: rgb(120, 54, 188);
/* oklch */ color: oklch(49.2% 0.199 302.0);
Tailwind
colors: {
  custom: {
    50: '#a573d1',
    500: '#7836bc',
    950: '#000000',
  },
}
SCSS
$custom: #7836bc;
$custom-light: #a573d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7836bc",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 269.552,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.19885,
    "h": 302
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#7836BC
secondary
#A7C985
accent
#DF4995
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7836BC

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

Preview Lab → · Contrast checker → · Palette generator →

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