#7836C4#7836C4

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

Color values

HEX#7836C4
RGBrgb(120, 54, 196)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 72%, 77%)
CMYKcmyk(38.8%, 72.4%, 0%, 23.1%)
CIE-LABlab(38.93, 55.73, -62.88)
CIE-LCHlch(38.93, 84.03, 311.55°)
OKLaboklab(49.84% 0.1038 -0.1795)
OKLCHoklch(49.84% 0.207 300)
XYZxyz(19.0262, 10.6167, 53.2607)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836C4 #82C436
analogous
#363BC4 #7836C4 #BF36C4
triadic
#7836C4 #C47836 #36C478
tetradic
#7836C4 #C4363B #82C436 #36C4BF
square
#7836C4 #C4363B #82C436 #36C4BF
split-complementary
#7836C4 #C4BF36 #3BC436
monochromatic
#3D1C64 #5B2994 #7836C4 #9863D4 #B793E1

Accessibility & contrast

On white

6.72
#7836C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7836C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836C4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836C4#FFFFFF#000000##FFFFFF
##7836C41.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#675A7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7836c4;
/* rgb */ color: rgb(120, 54, 196);
/* oklch */ color: oklch(49.8% 0.207 300.0);
Tailwind
colors: {
  custom: {
    50: '#a573d7',
    500: '#7836c4',
    950: '#000000',
  },
}
SCSS
$custom: #7836c4;
$custom-light: #a573d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7836c4",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 267.887,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49842,
    "c": 0.20734,
    "h": 300
  },
  "luminance": 0.10617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7836C4

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

Preview Lab → · Contrast checker → · Palette generator →

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