#7836C5#7836C5

#7836C5 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.9% C 0.208 H 299.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7836C5
RGBrgb(120, 54, 197)
HSLhsl(268, 57%, 49%)
HSVhsv(268, 73%, 77%)
CMYKcmyk(39.1%, 72.6%, 0%, 22.7%)
CIE-LABlab(39.01, 55.98, -63.34)
CIE-LCHlch(39.01, 84.53, 311.47°)
OKLaboklab(49.92% 0.1036 -0.1808)
OKLCHoklch(49.92% 0.208 299.8)
XYZxyz(19.1404, 10.6624, 53.8621)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7836C5 #83C536
analogous
#363CC5 #7836C5 #C036C5
triadic
#7836C5 #C57836 #36C578
tetradic
#7836C5 #C5363C #83C536 #36C5C0
square
#7836C5 #C5363C #83C536 #36C5C0
split-complementary
#7836C5 #C5C036 #3CC536
monochromatic
#3D1C65 #5B2995 #7836C5 #9864D4 #B894E2

Accessibility & contrast

On white

6.70
#7836C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#7836C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7836C5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7836C5#FFFFFF#000000##FFFFFF
##7836C51.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#665A7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7836c5;
/* rgb */ color: rgb(120, 54, 197);
/* oklch */ color: oklch(49.9% 0.208 299.8);
Tailwind
colors: {
  custom: {
    50: '#a573d8',
    500: '#7836c5',
    950: '#000000',
  },
}
SCSS
$custom: #7836c5;
$custom-light: #a573d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7836c5",
  "rgb": {
    "r": 120,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 267.692,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.2084,
    "h": 299.8
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#7836C5
secondary
#AECD8A
accent
#E0489A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7836C5

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

Preview Lab → · Contrast checker → · Palette generator →

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