#7836C6#7836C6

#7836C6 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.209 H 299.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7836C6
RGBrgb(120, 54, 198)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 73%, 78%)
CMYKcmyk(39.4%, 72.7%, 0%, 22.4%)
CIE-LABlab(39.08, 56.22, -63.79)
CIE-LCHlch(39.08, 85.03, 311.39°)
OKLaboklab(50% 0.1034 -0.1822)
OKLCHoklch(50% 0.209 299.6)
XYZxyz(19.2554, 10.7084, 54.4676)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836C6 #84C636
analogous
#363CC6 #7836C6 #C036C6
triadic
#7836C6 #C67836 #36C678
tetradic
#7836C6 #C6363C #84C636 #36C6C0
square
#7836C6 #C6363C #84C636 #36C6C0
split-complementary
#7836C6 #C6C036 #3CC636
monochromatic
#3E1C66 #5B2996 #7836C6 #9864D5 #B894E2

Accessibility & contrast

On white

6.68
#7836C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7836C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7836C6#FFFFFF#000000##FFFFFF
##7836C61.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#665A7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7836c6;
/* rgb */ color: rgb(120, 54, 198);
/* oklch */ color: oklch(50.0% 0.209 299.6);
Tailwind
colors: {
  custom: {
    50: '#a573d8',
    500: '#7836c6',
    950: '#000000',
  },
}
SCSS
$custom: #7836c6;
$custom-light: #a573d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7836c6",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 198
  },
  "hsl": {
    "h": 267.5,
    "s": 57.143,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.20945,
    "h": 299.6
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#7836C6
secondary
#AFCD8B
accent
#E0479A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7836C6

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

Preview Lab → · Contrast checker → · Palette generator →

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