#7836C3#7836C3

#7836C3 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.206 H 300.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7836C3
RGBrgb(120, 54, 195)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 72%, 76%)
CMYKcmyk(38.5%, 72.3%, 0%, 23.5%)
CIE-LABlab(38.85, 55.49, -62.43)
CIE-LCHlch(38.85, 83.52, 311.63°)
OKLaboklab(49.76% 0.104 -0.1782)
OKLCHoklch(49.76% 0.206 300.3)
XYZxyz(18.9128, 10.5714, 52.6632)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836C3 #81C336
analogous
#363BC3 #7836C3 #BF36C3
triadic
#7836C3 #C37836 #36C378
tetradic
#7836C3 #C3363B #81C336 #36C3BF
square
#7836C3 #C3363B #81C336 #36C3BF
split-complementary
#7836C3 #C3BF36 #3BC336
monochromatic
#3D1B63 #5B2993 #7836C3 #9763D4 #B792E1

Accessibility & contrast

On white

6.74
#7836C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7836C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7836C3#FFFFFF#000000##FFFFFF
##7836C31.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#675979
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7836c3;
/* rgb */ color: rgb(120, 54, 195);
/* oklch */ color: oklch(49.8% 0.206 300.3);
Tailwind
colors: {
  custom: {
    50: '#a573d6',
    500: '#7836c3',
    950: '#000000',
  },
}
SCSS
$custom: #7836c3;
$custom-light: #a573d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7836c3",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 268.085,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49762,
    "c": 0.20628,
    "h": 300.3
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#7836C3
secondary
#ADCC89
accent
#E04899
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7836C3

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

Preview Lab → · Contrast checker → · Palette generator →

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